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

Function UnknownInput

tensorflow/core/grappler/costs/utils.cc:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50namespace grappler {
51
52static OpInfo::TensorProperties UnknownInput() {
53 OpInfo::TensorProperties input;
54 input.set_dtype(DataType::DT_INVALID);
55 input.mutable_shape()->set_unknown_rank(true);
56 return input;
57}
58
59static std::vector<TensorProto> ExtractTensors(const AttrValue& attr_value) {
60 std::vector<TensorProto> tensors;

Callers 1

FindInputFeaturesFunction · 0.85

Calls 2

set_dtypeMethod · 0.45
mutable_shapeMethod · 0.45

Tested by

no test coverage detected