Searched refs:ShapeIsSymbolicallyDefined (Results 1 – 4 of 4) sorted by relevance
44 bool ShapeIsSymbolicallyDefined(const TensorShapeProto& shape) { in ShapeIsSymbolicallyDefined() function51 bool ShapeIsSymbolicallyDefined(const OpInfo::TensorProperties& properties) { in ShapeIsSymbolicallyDefined() function52 return ShapeIsSymbolicallyDefined(properties.shape()); in ShapeIsSymbolicallyDefined()99 if (!ShapeIsSymbolicallyDefined(left) || !ShapeIsSymbolicallyDefined(right)) { in ShapesBroadcastable()115 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);
496 return has_properties.ok() && ShapeIsSymbolicallyDefined(*properties) && in IsSupported()937 return has_properties.ok() && ShapeIsSymbolicallyDefined(*properties) && in IsSupported()