Home
last modified time | relevance | path

Searched refs:api_name (Results 1 – 25 of 52) sorted by relevance

123

/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/infrastructure/gcp/
Dapi.py102 api_name = 'compute'
107 return self._build_from_discovery_v1(api_name, version)
113 api_name = 'networksecurity'
115 return self._build_from_discovery_v2(api_name,
123 api_name = 'networkservices'
125 return self._build_from_discovery_v2(api_name,
138 def _build_from_discovery_v1(self, api_name, version): argument
139 api = discovery.build(api_name,
146 def _build_from_discovery_v2(self, api_name, version, *, api_key=None): argument
149 api_name,
[all …]
/external/python/apitools/samples/
Duptodate_check_test.py25 def GetSampleClientPath(api_name, *path): argument
26 return os.path.join(os.path.dirname(__file__), api_name + '_sample', *path)
43 def _CheckGeneratedFiles(self, api_name, api_version): argument
44 prefix = api_name + '_' + api_version
50 GetSampleClientPath(api_name, prefix + '.json'),
54 'samples.{0}_sample.{0}_{1}'.format(api_name, api_version),
69 api_name, prefix, expected_file)),
Dregenerate_samples.py54 api_name, api_version = name.split('_')
63 'samples.{0}_sample.{0}_{1}'.format(api_name, api_version),
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher_test.py36 def __init__(self, api_name, *args): argument
37 self.api_name = api_name
41 def __tf_dispatch__(cls, api_name, api_func, args): argument
42 Trace.log.append("__tf_dispatch__%s" % ((cls.__name__, api_name),))
43 if "disabled" in str(args) or api_name == "disabled":
46 return cls(api_name, *args)
49 return "%s%s" % (type(self).__name__, (self.api_name,) + self.args)
52 return (type(self) is type(other) and self.api_name == other.api_name and
79 def __tf_dispatch__(cls, api_name, api_func, args): argument
80 del api_name # unused
Dpython_api_dispatcher.cc137 PythonAPIDispatcher::PythonAPIDispatcher(const std::string& api_name, in PythonAPIDispatcher() argument
140 : api_name_(PyUnicode_FromStringAndSize(api_name.c_str(), api_name.size())), in PythonAPIDispatcher()
182 const char* api_name = PyString_AsString(api_name_str.get()); in Dispatch() local
185 const char* api_name = PyUnicode_AsUTF8AndSize(api_name_.get(), nullptr); in Dispatch()
189 absl::StrCat(api_name ? api_name : "unknown PythonAPIDispatcher", in Dispatch()
Dpython_api_info_test.py51 api_name, argument
57 api_info = _pywrap_python_api_info.PythonAPIInfo(api_name)
247 def testInitializeFromParamSpecs(self, api_name, param_names, input_specs, argument
249 api_info = self.makeConverterFromParamSpecs(api_name, param_names,
Dpython_api_parameter_converter.cc164 RaiseTypeError(api_info.api_name(), " argument ", in ConvertToTensorInPlace()
173 RaiseTypeError(api_info.api_name(), " argument ", in ConvertToTensorInPlace()
182 RaiseTypeError(api_info.api_name(), " argument ", in ConvertToTensorInPlace()
204 RaiseTypeError(api_info.api_name(), " argument ", in ConvertAttribute()
335 RaiseTypeError(api_info.api_name(), " expected parameters ", in ConvertInputsWithTypeListAttr()
349 RaiseTypeError(api_info.api_name(), " expected parameters ", in ConvertInputsWithTypeListAttr()
417 RaiseTypeError(api_info.api_name(), " expected parameters ", in InferLengthAttributes()
483 RaiseTypeError(api_info.api_name(), " expected a list of Tensors for '", in CopyPythonAPITensorLists()
Dpython_api_dispatcher_wrapper.cc28 const std::string& api_name, py::handle api_func, int num_params, in MakePythonAPIDispatcher() argument
41 auto dispatcher = tensorflow::PythonAPIDispatcher(api_name, api_func.ptr(), in MakePythonAPIDispatcher()
Dpython_api_info.h136 explicit PythonAPIInfo(const std::string& api_name);
176 const char* api_name() const { return api_name_; } in api_name() function
Dpython_api_dispatcher.h66 PythonAPIDispatcher(const std::string& api_name, PyObject* api_func,
/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py129 def _check_already_imported(self, symbol_id, api_name): argument
130 if (api_name in self._dest_import_to_id and
131 symbol_id != self._dest_import_to_id[api_name] and symbol_id != -1):
133 'Trying to export multiple symbols with same name: %s.' % api_name)
134 self._dest_import_to_id[api_name] = symbol_id
409 api_name, argument
424 names_attr = API_ATTRS_V1[api_name].names
425 constants_attr = API_ATTRS_V1[api_name].constants
427 names_attr = API_ATTRS[api_name].names
428 constants_attr = API_ATTRS[api_name].constants
[all …]
Dcreate_python_api_test.py69 api_name='tensorflow',
105 api_name='tensorflow',
125 api_name='tensorflow',
142 api_name='tensorflow',
155 api_name='tensorflow',
Ddoc_srcs.py86 def get_doc_sources(api_name): argument
95 if api_name == tf_export.TENSORFLOW_API_NAME:
97 if api_name == tf_export.ESTIMATOR_API_NAME:
Ddoc_srcs_test.py35 for module_name in doc_srcs.get_doc_sources(FLAGS.api_name):
47 for module_name, docsrc in doc_srcs.get_doc_sources(FLAGS.api_name).items():
55 for _, docsrc in doc_srcs.get_doc_sources(FLAGS.api_name).items():
Dapi_gen.bzl41 api_name = "tensorflow",
75 api_name: Name of the project that you want to generate API files for
140 " --apiname=" + api_name + " --apiversion=" + str(api_version) +
/external/vulkan-validation-layers/layers/
Dstateless_validation.h87 const char *api_name; member
139 …ss << misc.api_name << ": parameter " << parameter_name.get_name() << " (= " << value << ") is gre… in ValidateGreaterThan()
381 …bool validate_required_handle(const char *api_name, const ParameterName &parameter_name, T value) { in validate_required_handle() argument
386 …kVUID_PVError_RequiredParameter, "%s: required parameter %s specified as VK_NULL_HANDLE", api_name, in validate_required_handle()
415 …bool validate_handle_array(const char *api_name, const ParameterName &count_name, const ParameterN… in validate_handle_array() argument
420 …skip_call |= validate_array(api_name, count_name, array_name, count, &array, count_required, array… in validate_handle_array()
429 api_name, array_name.get_name().c_str(), i); in validate_handle_array()
477 …bool ValidatePnextStructContents(const char *api_name, const ParameterName &parameter_name, const …
495 …bool validate_struct_pnext(const char *api_name, const ParameterName &parameter_name, const char *… in validate_struct_pnext() argument
519 … message.c_str(), api_name, parameter_name.get_name().c_str(), header_version, in validate_struct_pnext()
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_export.py105 symbol, api_name=TENSORFLOW_API_NAME, argument
121 api_names_attr = API_ATTRS[api_name].names
134 api_names_attr = API_ATTRS_V1[api_name].names
409 tf_export = functools.partial(api_export, api_name=TENSORFLOW_API_NAME)
410 estimator_export = functools.partial(api_export, api_name=ESTIMATOR_API_NAME)
411 keras_export = functools.partial(api_export, api_name=KERAS_API_NAME)
/external/mesa3d/src/mesa/main/
Dshaderapi.c2764 const char *api_name = "glGetSubroutineUniformLocation"; in _mesa_GetSubroutineUniformLocation() local
2770 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineUniformLocation()
2774 shProg = _mesa_lookup_shader_program_err(ctx, program, api_name); in _mesa_GetSubroutineUniformLocation()
2780 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineUniformLocation()
2793 const char *api_name = "glGetSubroutineIndex"; in _mesa_GetSubroutineIndex() local
2800 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineIndex()
2804 shProg = _mesa_lookup_shader_program_err(ctx, program, api_name); in _mesa_GetSubroutineIndex()
2810 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineIndex()
2829 const char *api_name = "glGetActiveSubroutineUniformiv"; in _mesa_GetActiveSubroutineUniformiv() local
2839 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
[all …]
Dget_hash_generator.py61 def api_name(api): function
79 return "table_" + api_name(api)
/external/llvm-project/openmp/runtime/src/
Dkmp_os.h397 #define KMP_EXPAND_NAME(api_name) _KMP_EXPAND_NAME(api_name)
398 #define _KMP_EXPAND_NAME(api_name) __kmp_api_##api_name
399 #define KMP_VERSION_SYMBOL(api_name, ver_num, ver_str) \
400 _KMP_VERSION_SYMBOL(api_name, ver_num, ver_str, "VERSION")
401 #define _KMP_VERSION_SYMBOL(api_name, ver_num, ver_str, default_ver) \
402 __typeof__(__kmp_api_##api_name) __kmp_api_##api_name##_##ver_num##_alias \
403 __attribute__((alias(KMP_STR(__kmp_api_##api_name)))); \
405 ".symver " KMP_STR(__kmp_api_##api_name##_##ver_num##_alias) "," KMP_STR( \
406 api_name) "@" ver_str "\n\t"); \
407 __asm__(".symver " KMP_STR(__kmp_api_##api_name) "," KMP_STR( \
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_composite_functions_tf.cc293 auto api_name = attr.GetName().getLeafReference(); in ConvertTFImplementsWithAttributes() local
296 if (api_name.startswith(kTFTextAPIPrefix) && enable_fuse_tftext) { in ConvertTFImplementsWithAttributes()
297 if (failed(ConvertTFTextAPI(func, api_name, attr))) { in ConvertTFImplementsWithAttributes()
300 } else if (api_name == kCustomSSDPostprocessing) { in ConvertTFImplementsWithAttributes()
306 } else if (api_name == kCustomMaxUnpooling) { in ConvertTFImplementsWithAttributes()
/external/tensorflow/tensorflow/tools/docs/
Dgenerate2.py144 for api_name in all_exports:
146 self._index[name], api_name=api_name)
/external/python/google-api-python-client/docs/
Dthread_safety.md16 service = build('api_name', 'api_version', requestBuilder=build_request)
19 service = build('api_name', 'api_version')
/external/python/apitools/apitools/base/py/testing/
Dmock.py288 def _MakeMockedService(api_name, collection_name, argument
299 _MockedMethod(api_name + '.' + collection_name + '.' + method,
356 api_name = '%s_%s' % (self.__client_class._PACKAGE,
359 api_name, collection_name, self,
/external/tensorflow/tensorflow/python/keras/api/
DBUILD113 api_name = "keras",
126 api_name = "keras",
140 api_name = "keras",

123