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

Class Shape

tensorflow/core/framework/shape_inference.h:83–97  ·  view source on GitHub ↗

Shape rank and dimensions are accessed through InferenceContext.

Source from the content-addressed store, hash-verified

81
82// Shape rank and dimensions are accessed through InferenceContext.
83class Shape {
84 private:
85 Shape();
86 Shape(const std::vector<DimensionHandle>& dims);
87 ~Shape() {}
88
89 const int32 rank_;
90 const std::vector<DimensionHandle> dims_;
91
92 friend class InferenceContext;
93 friend class ShapeManager;
94 friend class ::tensorflow::grappler::SymbolicShapeManager;
95
96 TF_DISALLOW_COPY_AND_ASSIGN(Shape);
97};
98
99class ShapeHandle {
100 public:

Callers 15

TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
RunTestMethod · 0.50
RunTestMethod · 0.50
RunAndValidateMethod · 0.50
MulConvPushDownTestMethod · 0.50

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
RunTestMethod · 0.40
RunTestMethod · 0.40
RunAndValidateMethod · 0.40
MulConvPushDownTestMethod · 0.40