Tensors
Creating Tensors
Creates a new tensor in the dataset. |
|
Creates a tensor group. |
|
Copies the |
Deleting and Renaming Tensors
Delete a tensor from the dataset. |
|
Delete a tensor group from the dataset. |
|
Renames tensor with name |
|
Renames group with name |
Adding and deleting samples
Appends a single sample to the end of the tensor. |
|
Extends the end of the tensor by appending multiple elements from a sequence. |
|
Removes an element at the given index. |
|
Deletes all samples from the tensor |
|
Update samples with new values. |
Retrieving samples
Computes the contents of the tensor in numpy format. |
|
Returns data in the tensor in a format based on the tensor's base htype. |
|
Returns the bytes of the tensor. |
|
Return text data. |
|
Return json data. |
|
Return list data. |
|
Returns the linked sample at the given index. |
Tensor Properties
Htype of the tensor. |
|
Base htype of the tensor. |
|
Dtype of the tensor. |
|
Get the shape of this tensor. |
|
Returns a |
|
Number of dimensions of the tensor. |
|
Returns the length of the primary axis of the tensor. |
|
Returns the length of the primary axis of the tensor. |
|
Will return |
|
Whether this tensor is a sequence tensor. |
|
Whether this tensor is a link tensor. |
|
Whether linked data will be verified when samples are added. |
Info
Returns the information about the tensor. |
|
Returns info about particular samples in a tensor. |
Video features
Play video sample. |
|
Returns timestamps (in seconds) for video sample as numpy array. |