Searched refs:add_supertype (Results 1 – 4 of 4) sorted by relevance
246 Type generic = Type::Generic("T").add_supertype(Type::Class("Number")); in TEST()347 clazz.add_parameter(Type::Generic("U").add_supertype(Type::Class("Number"))); in TEST()362 Type type_u = Type::Generic("U").add_supertype(Type::Class("Number")); in TEST()364 clazz.add_supertype(Type::Interface("Parametrizable").add_parameter(type_u)); in TEST()365 clazz.add_supertype(Type::Interface("Runnable")); in TEST()366 clazz.add_supertype(Type::Class("SuperTest").add_parameter(type_t)); in TEST()380 Type type_t = Type::Generic("T").add_supertype(Type::Class("Number")); in TEST()427 Type type_t = Type::Generic("T").add_supertype(Type::Class("Number")); in TEST()552 Type type_t = Type::Generic("T").add_supertype(Type::Class("Number")); in TEST()577 Type type_t = Type::Generic("T").add_supertype(Type::Class("Number")); in TEST()
421 .add_supertype(Type::Class("PrimitiveOp", "org.tensorflow.op"))); in GenerateOp()434 op_class.add_supertype(Type::IterableOf(operand_inf)); in GenerateOp()437 op_class.add_supertype(operand_inf); in GenerateOp()
146 Type& add_supertype(const Type& type) { in add_supertype() function
159 type.add_supertype(Type::Class("Number")); in TypesOf()