MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / shape

Method shape

Source/Falcor/Utils/Scripting/ndarray.h:426–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424 dlpack::dtype dtype() const { return m_dltensor.dtype; }
425 size_t ndim() const { return m_dltensor.ndim; }
426 size_t shape(size_t i) const { return m_dltensor.shape[i]; }
427 int64_t stride(size_t i) const { return m_dltensor.strides[i]; }
428 bool is_valid() const { return m_handle != nullptr; }
429 int32_t device_type() const { return m_dltensor.device.device_type; }

Callers 5

verifyDataMethod · 0.80
FALCOR_SCRIPT_BINDINGFunction · 0.80
getNdarraySizeFunction · 0.80
isNdarrayContiguousFunction · 0.80
jeri.min.jsFile · 0.80

Calls

no outgoing calls

Tested by 1

verifyDataMethod · 0.64