MCPcopy Create free account
hub / github.com/3DAnimals/3DAnimals / fetch1

Method fetch1

model/render/renderutils/c_src/tensor.h:49–52  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////// Fetch, use broadcasting for tensor dimensions of size 1

Source from the content-addressed store, hash-verified

47 //////////////////////////////////////////////////////////////////////////////////////////
48 // Fetch, use broadcasting for tensor dimensions of size 1
49 __device__ inline float fetch1(unsigned int x, unsigned int y, unsigned int z) const
50 {
51 return fetch(nhwcIndex(z, y, x, 0));
52 }
53
54 __device__ inline vec3f fetch3(unsigned int x, unsigned int y, unsigned int z) const
55 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected