Home
last modified time | relevance | path

Searched refs:WhichOneof (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/session_bundle/
Dbundle_shim.py85 if (default_signature.WhichOneof("type") ==
95 elif (default_signature.WhichOneof("type") ==
111 "supported" % default_signature.WhichOneof("type"))
137 if (input_signature.WhichOneof("type") != legacy_constants.GENERIC_SIGNATURE
138 or output_signature.WhichOneof("type") !=
143 "%s" % (input_signature.WhichOneof("type"),
144 output_signature.WhichOneof("type")))
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py574 self.assertRaises(ValueError, m.WhichOneof, 'no_such_oneof_field')
578 self.assertIs(None, m.WhichOneof('oneof_field'))
583 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field'))
588 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
594 self.assertIs(None, m.WhichOneof('oneof_field'))
597 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field'))
601 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
607 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
613 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
618 self.assertEqual('oneof_nested_message', m.WhichOneof('oneof_field'))
[all …]
Dpython_message.py1263 def WhichOneof(self, oneof_name): function
1277 cls.WhichOneof = WhichOneof
Dtext_format_test.py455 self.assertEqual('oneof_uint32', m2.WhichOneof('oneof_field'))
468 self.assertEqual('oneof_string', m2.WhichOneof('oneof_field'))
Dwell_known_types.py645 which = struct_value.WhichOneof('kind')
/external/protobuf/conformance/
Dconformance_python.py60 if request.WhichOneof('payload') == 'protobuf_payload':
67 elif request.WhichOneof('payload') == 'json_payload':
/external/protobuf/python/google/protobuf/
Dmessage.py246 def WhichOneof(self, oneof_group): member in Message
Djson_format.py250 which = message.WhichOneof('kind')
Dtext_format.py531 which_oneof = message.WhichOneof(field.containing_oneof.name)
/external/tensorflow/tensorflow/python/saved_model/
Dload.py104 if self._proto.nodes[node_id].WhichOneof("kind") == "variable"
227 kind = proto.WhichOneof("kind")
Dutils_impl.py143 encoding = tensor_info.WhichOneof("encoding")
Dfunction_deserialization.py347 if attr_value.WhichOneof("value") == "func":
Dbuilder_impl.py171 if tensor_info.WhichOneof("encoding") is None:
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Dcustom_export_strategy.py138 node_type = gtflow_node.WhichOneof("node")
223 node_type = tree_node.WhichOneof("node")
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dbenchmark_client.py59 if config.payload_config.WhichOneof('payload') == 'simple_params':
Dworker_server.py165 if config.load_params.WhichOneof('load') == 'closed_loop':
/external/tensorflow/tensorflow/python/framework/
Dimporter.py336 if value is None or value.WhichOneof('value') is None:
Dmeta_graph.py820 kind = col_def.WhichOneof("kind")
866 kind = col_def.WhichOneof("kind")
Dops.py2583 oneof_value = x.WhichOneof("value")
/external/tensorflow/tensorflow/contrib/boosted_trees/python/training/functions/
Dgbdt_batch.py408 tuner = learner_config.learning_rate_tuner.WhichOneof("tuner")
867 subsampling_type = self._learner_config.WhichOneof("feature_fraction")
1035 learning_rate_tuner = self._learner_config.learning_rate_tuner.WhichOneof(
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam.py441 kind = value.WhichOneof('kind')
/external/tensorflow/tensorflow/python/training/
Dsaver_test.py1729 kind = collection_def.WhichOneof("kind")
1737 kind = collection_def.WhichOneof("kind")
1812 kind = collection_def.WhichOneof("kind")
1821 kind = collection_def.WhichOneof("kind")
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2056 static PyObject* WhichOneof(CMessage* self, PyObject* arg) { in CheckAndGetInteger() function
2621 { "WhichOneof", (PyCFunction)WhichOneof, METH_O, in CheckAndGetInteger()
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py1016 kind = value.WhichOneof('value')
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py4056 context_def.WhichOneof("ctxt"))

12