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

Function ScatterNdShape

tensorflow/core/ops/array_ops.cc:3283–3291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3281}
3282
3283Status ScatterNdShape(InferenceContext* c) {
3284 ShapeHandle indices_shape;
3285 TF_RETURN_IF_ERROR(c->WithRankAtLeast(c->input(0), 1, &indices_shape));
3286 ShapeHandle updates_shape;
3287 TF_RETURN_IF_ERROR(c->WithRankAtLeast(c->input(1), 1, &updates_shape));
3288 ShapeHandle output_shape;
3289 TF_RETURN_IF_ERROR(c->MakeShapeFromShapeTensor(2, &output_shape));
3290 return ScatterNdShapeHelper(c, indices_shape, updates_shape, output_shape);
3291}
3292
3293Status ScatterNdTensorShape(InferenceContext* c) {
3294 ShapeHandle output_shape;

Callers

nothing calls this directly

Calls 4

ScatterNdShapeHelperFunction · 0.85
WithRankAtLeastMethod · 0.80
inputMethod · 0.45

Tested by

no test coverage detected