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

Method AsTensorShape

tensorflow/core/framework/tensor_shape.cc:807–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807bool PartialTensorShape::AsTensorShape(TensorShape* shape) const {
808 if (IsFullyDefined()) {
809 const TensorShapeRep* rep = this;
810 *shape = *static_cast<const TensorShape*>(rep);
811 return true;
812 }
813 return false;
814}
815
816bool PartialTensorShape::IsIdenticalTo(const PartialTensorShape& shape) const {
817 if (unknown_rank() || shape.unknown_rank()) {

Callers 15

TypeToShapeFunction · 0.80
CompileMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
OptimizeGraphMethod · 0.80
InitInputTensorsMethod · 0.80
ComputeMethod · 0.80
ComputeMethod · 0.80
ComputeMethod · 0.80
ComputeMethod · 0.80
ComputeMethod · 0.80
LockedReadMethod · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64