Searched refs:ShapeIsSymbolicallyDefined (Results 1 – 4 of 4) sorted by relevance
41 bool ShapeIsSymbolicallyDefined(const TensorShapeProto& shape) { in ShapeIsSymbolicallyDefined() function48 bool ShapeIsSymbolicallyDefined(const OpInfo::TensorProperties& properties) { in ShapeIsSymbolicallyDefined() function49 return ShapeIsSymbolicallyDefined(properties.shape()); in ShapeIsSymbolicallyDefined()96 if (!ShapeIsSymbolicallyDefined(left) || !ShapeIsSymbolicallyDefined(right)) { in ShapesBroadcastable()112 if (!ShapeIsSymbolicallyDefined(left) || !ShapeIsSymbolicallyDefined(right)) { in ShapeAfterBroadcast()
47 TEST_F(SymbolicShapesTest, ShapeIsSymbolicallyDefined) { in TEST_F() argument48 EXPECT_FALSE(ShapeIsSymbolicallyDefined(MakeUnknown())); in TEST_F()49 EXPECT_FALSE(ShapeIsSymbolicallyDefined(MakeShape({-1, 2}))); in TEST_F()51 EXPECT_TRUE(ShapeIsSymbolicallyDefined(MakeShape({1, 2}))); in TEST_F()52 EXPECT_TRUE(ShapeIsSymbolicallyDefined(MakeShape({-2, 2}))); in TEST_F()
32 bool ShapeIsSymbolicallyDefined(const TensorShapeProto& shape);33 bool ShapeIsSymbolicallyDefined(const OpInfo::TensorProperties& properties);
471 return has_properties.ok() && ShapeIsSymbolicallyDefined(properties) && in IsSupported()909 return has_properties.ok() && ShapeIsSymbolicallyDefined(properties) && in IsSupported()