MCPcopy Create free account
hub / github.com/NVIDIA/MatX / NumpyToTensorView

Function NumpyToTensorView

include/matx/core/pybind.h:382–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381 template <typename TensorType>
382 void NumpyToTensorView(TensorType &ten,
383 const std::string fname)
384 {
385 auto resobj = res_dict[fname.c_str()];
386 NumpyToTensorView(ten, resobj);
387 }
388
389 template <typename TensorType>
390 void NumpyToTensorView(TensorType ten,

Callers

nothing calls this directly

Calls 9

ConvertComplexFunction · 0.85
AbsToIdxFunction · 0.85
beginFunction · 0.85
TotalSizeMethod · 0.80
beginMethod · 0.80
DataMethod · 0.80
dataMethod · 0.80
RankFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected