MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ contiguous()

TensorSpec MayaFlux::Kakshya::TensorSpec::contiguous ( TensorDType dtype,
std::vector< uint64_t > shape,
std::string name = {} )
staticnodiscard

C-ordered spec with no offset, axes or quantization.

Definition at line 33 of file TensorSpec.cpp.

34{
35 TensorSpec spec;
36 spec.name = std::move(name);
37 spec.dtype = dtype;
38 spec.shape = std::move(shape);
39 return spec;
40}
std::vector< uint64_t > shape

References dtype, name, and shape.

Referenced by MayaFlux::Kakshya::TensorContainer::clear(), MayaFlux::IO::SafetensorsReader::open(), and MayaFlux::IO::Detail::parse_npy_header().

Here is the caller graph for this function: