Searched refs:has_tensor (Results 1 – 10 of 10) sorted by relevance
60 def has_tensor(self, tensor_str): function63 CheckpointReader.has_tensor = has_tensor
2611 self.assertTrue(reader.has_tensor("v0"))2612 self.assertTrue(reader.has_tensor("v1"))
134 if (a.has_tensor()) return tensor_hash(a.tensor()); in AttrValueHash()160 if (a.has_tensor() != b.has_tensor()) { in AreAttrValuesEqual()162 } else if (a.has_tensor() && b.has_tensor()) { in AreAttrValuesEqual()
61 if (attr_val.has_tensor()) { in CompressConstants()
86 if not reader.has_tensor(tensor_name):
81 if (node_value.has_tensor()) { in ValidateNode()
88 ASSERT_TRUE(iter->second.has_tensor()); in TEST_F()
559 if (!iter->second.has_tensor() || in GrapplerItemFromMetaGraphDef()
346 if (attr.second.has_tensor() && in IsScalarConst()
2742 if (!value_it->second.has_tensor()) { in ExtractConstTensorFromGraph()