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

Method set_dynamic_dimension

tensorflow/compiler/xla/shape.h:72–74  ·  view source on GitHub ↗

Sets whether or not the given dimension is dynamically-sized.

Source from the content-addressed store, hash-verified

70
71 // Sets whether or not the given dimension is dynamically-sized.
72 void set_dynamic_dimension(int dimension, bool is_dynamic) {
73 dynamic_dimensions_[dimension] = is_dynamic;
74 }
75
76 absl::Span<const bool> dynamic_dimensions() const {
77 return dynamic_dimensions_;

Callers 15

TEST_FFunction · 0.80
MakeValidatedShapeMethod · 0.80
PermuteDimensionsMethod · 0.80
SetDynamicBindingMethod · 0.80
BuildMethod · 0.80
AddBroadcastSequenceMethod · 0.80
BroadcastInDimMethod · 0.80
InferConcatOpShapeMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64