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

Method MakeShape

tensorflow/compiler/xla/shape_util.cc:174–177  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

172}
173
174/* static */ Shape ShapeUtil::MakeShape(PrimitiveType element_type,
175 absl::Span<const int64> dimensions) {
176 return MakeValidatedShape(element_type, dimensions).ValueOrDie();
177}
178
179/* static */ Shape ShapeUtil::MakeScalarShape(PrimitiveType element_type) {
180 return MakeShape(element_type, {});

Callers 12

SetOutputToSizedImageFunction · 0.45
image_ops.ccFile · 0.45
quantile_ops.ccFile · 0.45
xla_ops.ccFile · 0.45
TestPlaceholderFunction · 0.45
TestShapeAttributeFunction · 0.45
ShapeHandleFromDimsFunction · 0.45
TFE_InferShapesFunction · 0.45
sparse_fprop.ccFile · 0.45

Calls

no outgoing calls

Tested by 2

TestPlaceholderFunction · 0.36
TestShapeAttributeFunction · 0.36