MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetShape

Function GetShape

tensorflow/core/kernels/shape_ops.h:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31namespace shape_op_helpers {
32inline Status GetShape(OpKernelContext* ctx, int input_index,
33 TensorShape* shape) {
34 *shape = ctx->input(input_index).shape();
35 return Status::OK();
36}
37} // namespace shape_op_helpers
38
39template <typename OutType>

Callers 15

ComputeMethod · 0.70
ComputeMethod · 0.70
ComputeMethod · 0.70
ComputeMethod · 0.70
ComputeMethod · 0.70
TEST_FFunction · 0.50
TEST_FFunction · 0.50
InitMethod · 0.50
FloatMulOpModelMethod · 0.50
FloatPoolingOpModelMethod · 0.50
ConvolutionOpModelMethod · 0.50

Calls 2

shapeMethod · 0.45
inputMethod · 0.45

Tested by 15

TEST_FFunction · 0.40
TEST_FFunction · 0.40
InitMethod · 0.40
FloatMulOpModelMethod · 0.40
FloatPoolingOpModelMethod · 0.40
ConvolutionOpModelMethod · 0.40
FullyConnectedOpModelMethod · 0.40
SoftmaxOpModelMethod · 0.40
SqueezeOpModelMethod · 0.40
L2NormOpModelMethod · 0.40
FloatSubOpModelMethod · 0.40