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

Method is_dynamic_dimension

tensorflow/compiler/xla/shape.h:67–69  ·  view source on GitHub ↗

Returns true if the given dimension is dynamically-sized.

Source from the content-addressed store, hash-verified

65
66 // Returns true if the given dimension is dynamically-sized.
67 bool is_dynamic_dimension(int dimension) const {
68 return dynamic_dimensions_.at(dimension);
69 }
70
71 // Sets whether or not the given dimension is dynamically-sized.
72 void set_dynamic_dimension(int dimension, bool is_dynamic) {

Callers 15

TEST_FFunction · 0.80
HumanStringMethod · 0.80
HumanStringWithLayoutMethod · 0.80
PermuteDimensionsMethod · 0.80
HashMethod · 0.80
TESTFunction · 0.80
ShapeMethod · 0.80
operator()Method · 0.80
AddBroadcastSequenceMethod · 0.80
BinaryOpMethod · 0.80
BroadcastInDimMethod · 0.80

Calls 1

atMethod · 0.45

Tested by 3

TEST_FFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64