torch.TensorMeta
export interface TensorMeta {
readonly shape: readonly number[];
readonly dtype: DType;
readonly device: Device;
readonly numel: number;
}Tensor metadata for predicate functions.
export interface TensorMeta {
readonly shape: readonly number[];
readonly dtype: DType;
readonly device: Device;
readonly numel: number;
}Tensor metadata for predicate functions.