Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/data/experimental/ops/
Doptimization_options.py82 if pb.WhichOneof("optional_enabled") is not None:
84 if pb.WhichOneof("optional_use_choose_fastest") is not None:
387 if pb.WhichOneof("optional_apply_default_optimizations") is not None:
389 if pb.WhichOneof("optional_autotune") is not None:
391 if pb.WhichOneof("optional_autotune_buffers") is not None:
393 if pb.WhichOneof("optional_autotune_cpu_budget") is not None:
395 if pb.WhichOneof("optional_autotune_ram_budget") is not None:
397 if pb.WhichOneof("optional_filter_fusion") is not None:
399 if pb.WhichOneof("optional_filter_with_random_uniform_fusion") is not None:
402 if pb.WhichOneof("optional_hoist_random_uniform") is not None:
[all …]
Dthreading_options.py62 if pb.WhichOneof("optional_max_intra_op_parallelism") is not None:
64 if pb.WhichOneof("optional_private_threadpool_size") is not None:
Ddistribute_options.py155 if pb.WhichOneof("optional_num_devices") is not None:
/external/protobuf/conformance/
Dconformance_python.py117 isJson = (request.WhichOneof('payload') == 'json_payload')
127 if request.WhichOneof('payload') == 'protobuf_payload':
134 elif request.WhichOneof('payload') == 'json_payload':
145 elif request.WhichOneof('payload') == 'text_payload':
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py866 self.assertRaises(ValueError, m.WhichOneof, 'no_such_oneof_field')
867 self.assertRaises(Exception, m.WhichOneof, 0)
871 self.assertIs(None, m.WhichOneof('oneof_field'))
876 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field'))
881 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
887 self.assertIs(None, m.WhichOneof('oneof_field'))
890 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field'))
894 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
900 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
906 self.assertEqual('oneof_string', m.WhichOneof('oneof_field'))
[all …]
Dpython_message.py1344 def WhichOneof(self, oneof_name): function
1358 cls.WhichOneof = WhichOneof
Dwell_known_types.py736 which = struct_value.WhichOneof('kind')
Djson_format_test.py603 self.assertEqual(message.value.WhichOneof('kind'), 'null_value')
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/
Dxds_k8s_testcase.py310 self.assertEqual(client_security.WhichOneof('model'),
313 self.assertEqual(server_security.WhichOneof('model'),
342 self.assertEqual(client_security.WhichOneof('model'),
345 self.assertEqual(server_security.WhichOneof('model'),
450 if security.WhichOneof('model') == 'other':
/external/tensorflow/tensorflow/python/saved_model/
Dfunction_deserialization.py439 if attr_value.WhichOneof("value") == "func":
441 elif attr_value.WhichOneof("value") == "list":
519 if attr_value.WhichOneof("value") == "func":
521 elif attr_value.WhichOneof("value") == "list":
Dbuilder_impl.py172 if tensor_info.WhichOneof("encoding") is None:
178 if tensor_info.WhichOneof("encoding") == "composite_tensor":
Dutils_impl.py172 encoding = tensor_info.WhichOneof("encoding")
Dload.py343 if self._proto.nodes[node_id].WhichOneof("kind") == "variable"
550 kind = proto.WhichOneof("kind")
/external/protobuf/python/google/protobuf/
Dmessage.py261 def WhichOneof(self, oneof_group): member in Message
Djson_format.py335 which = message.WhichOneof('kind')
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/rpc/
Dgrpc_channelz.py65 return address.WhichOneof('address') == 'tcpip_address'
/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/eager/
Dwrap_function.py100 encoding = tensor_info.WhichOneof("encoding")
350 if ti.WhichOneof("encoding") == "name": # Dense tensors only
/external/tensorflow/tensorflow/python/framework/
Dimporter.py343 if value is None or value.WhichOneof('value') is None:
Dmeta_graph.py768 kind = col_def.WhichOneof("kind")
836 kind = col_def.WhichOneof("kind")
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dload.py193 if (proto.WhichOneof('kind') == 'user_object' and
358 if (child_proto.WhichOneof('kind') == 'variable' and
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert.py729 kind = collection_def.WhichOneof("kind")
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py3070 if pb.WhichOneof("optional_deterministic") is not None:
3073 if pb.WhichOneof("optional_external_state_policy") is not None:
3078 if pb.WhichOneof("optional_slack") is not None:
/external/tensorflow/tensorflow/python/training/
Dsaver_test.py1921 kind = collection_def.WhichOneof("kind")
1929 kind = collection_def.WhichOneof("kind")
2006 kind = collection_def.WhichOneof("kind")
2015 kind = collection_def.WhichOneof("kind")

12