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

Function Scalars

tensorflow/core/graph/graph_constructor_test.cc:172–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170};
171
172Status Scalars(shape_inference::InferenceContext* c) {
173 for (int i = 0; i < c->num_outputs(); ++i) {
174 c->set_output(i, c->Scalar());
175 }
176 return Status::OK();
177}
178
179REGISTER_OP("ABC");
180REGISTER_OP("TestParams").Output("o: float").SetShapeFn(Scalars);

Callers

nothing calls this directly

Calls 3

num_outputsMethod · 0.45
set_outputMethod · 0.45
ScalarMethod · 0.45

Tested by

no test coverage detected