Home
last modified time | relevance | path

Searched refs:type_dict (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Ddequantize_op_test.py41 type_dict = {
47 self.assertTrue(dtype in type_dict.keys())
48 v_max = np.iinfo(type_dict[dtype]).max
49 v_min = np.iinfo(type_dict[dtype]).min
/external/tensorflow/tensorflow/python/grappler/
Dhierarchical_controller.py175 2 * self.num_groups + len(self.type_dict) +
467 self.type_dict = {}
470 self.type_dict[op_type] = len(self.type_dict)
476 op_types[idx] = self.type_dict[node.op]
514 print("num_types = {}".format(len(self.type_dict)))
665 self.num_groups, len(self.type_dict) +
673 type_index = self.type_dict[type_name]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py399 def __init__(self, type_dict, field_list, is_extendable=False, argument
401 self.type_dict = type_dict
419 for name, subtype in self.type_dict.items():
/external/python/cpython3/Objects/
Dtypeobject.c791 type_dict(PyTypeObject *type, void *context) in type_dict() function
876 {"__dict__", (getter)type_dict, NULL, NULL},
/external/python/cpython2/Objects/
Dtypeobject.c582 type_dict(PyTypeObject *type, void *context) in type_dict() function
646 {"__dict__", (getter)type_dict, NULL, NULL},