Home
last modified time | relevance | path

Searched refs:allowed_types (Results 1 – 15 of 15) sorted by relevance

/external/autotest/server/site_tests/firmware_FingerprintSigner/
Dfirmware_FingerprintSigner.py16 allowed_types = [self._KEY_TYPE_MP]
18 allowed_types += [self._KEY_TYPE_PRE_MP]
19 self.validate_build_fw_file(allowed_types=allowed_types)
/external/llvm-project/clang/docs/tools/
Ddump_ast_matchers.py148 def act_on_decl(declaration, comment, allowed_types): argument
223 if allowed_types and allowed_types != result_types:
243 if allowed_types and allowed_types != result_types:
287 if not allowed_types:
289 result_types = allowed_types
309 if not allowed_types:
311 result_types = allowed_types
434 allowed_types = [] variable
440 act_on_decl(declaration, comment, allowed_types)
443 allowed_types = [] variable
[all …]
/external/clang/docs/tools/
Ddump_ast_matchers.py131 def act_on_decl(declaration, comment, allowed_types): argument
202 if allowed_types and allowed_types != result_types:
244 if not allowed_types:
246 result_types = allowed_types
339 allowed_types = [] variable
345 act_on_decl(declaration, comment, allowed_types)
348 allowed_types = [] variable
353 allowed_types += [m.group(1)]
365 act_on_decl(declaration, comment, allowed_types)
368 allowed_types = [] variable
/external/tensorflow/tensorflow/python/ops/
Dimage_grad.py105 allowed_types = [dtypes.float32, dtypes.float64]
107 if op.inputs[0].dtype in allowed_types:
137 allowed_types = [dtypes.float16, dtypes.float32, dtypes.float64]
138 if op.inputs[0].dtype in allowed_types:
Dgradient_checker_v2.py263 allowed_types = [
267 assert t.base_dtype in allowed_types, ("Cannot compute gradient for "
271 assert t2.base_dtype in allowed_types, ("Cannot compute gradient for "
Dgradient_checker.py222 allowed_types = [dtypes.float16, dtypes.bfloat16, dtypes.float32,
224 assert t.base_dtype in allowed_types, "Don't support type %s for x" % t.name
226 assert t2.base_dtype in allowed_types, "Don't support type %s for y" % t2.name
/external/tensorflow/tensorflow/compiler/tests/
Dstateless_random_ops_test.py42 allowed_types = {dtypes.float64, dtypes.float32, dtypes.bfloat16}
44 allowed_types.update({dtypes.int32, dtypes.int64})
45 return self.all_tf_types & allowed_types
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc477 std::vector<string> allowed_types; in GenerateTypeVars() local
482 allowed_types.emplace_back(dtype_type.at(py_dtype)); in GenerateTypeVars()
487 if (allowed_types.empty()) { in GenerateTypeVars()
489 allowed_types.emplace_back(map_dtype.second); in GenerateTypeVars()
493 std::sort(allowed_types.begin(), allowed_types.end()); in GenerateTypeVars()
496 for (std::vector<string>::iterator it = allowed_types.begin(); in GenerateTypeVars()
497 it != allowed_types.end(); ++it) { in GenerateTypeVars()
/external/ruy/example/
Dparametrized_example.cc142 const char* allowed_types = in main() local
146 allowed_types, &params.types); in main()
/external/autotest/server/cros/faft/
Dfingerprint_test.py466 allowed_types=(_KEY_TYPE_PRE_MP, _KEY_TYPE_MP)): argument
489 if key_type not in allowed_types:
492 (' or '.join(allowed_types), self.fp_board, key_type,
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2.py1680 allowed_types = [ast.Str]
1682 allowed_types += [ast.Bytes]
1684 allowed_types += [ast.JoinedStr]
1686 allowed_types += [ast.FormattedValue]
1687 return isinstance(node, allowed_types)
/external/vulkan-validation-layers/layers/
Dstateless_validation.h496 … const void *next, size_t allowed_type_count, const VkStructureType *allowed_types, in validate_struct_pnext() argument
522 const VkStructureType *start = allowed_types; in validate_struct_pnext()
523 const VkStructureType *end = allowed_types + allowed_type_count; in validate_struct_pnext()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc2126 const std::set<DataType>& allowed_types, in AllowDataTypes() argument
2131 if (!allowed_types.count(tf_type)) { in AllowDataTypes()
2133 allowed_types, ", ", [](string* out, const DataType& type) { in AllowDataTypes()
3677 std::set<DataType> allowed_types{DataType::DT_FLOAT, DataType::DT_HALF, in ConvertPool() local
3680 std::set<DataType> allowed_types{DataType::DT_FLOAT, DataType::DT_HALF}; in ConvertPool() local
3682 TF_RETURN_IF_ERROR(AllowDataTypes(*params, allowed_types)); in ConvertPool()
4453 std::set<DataType> allowed_types{DataType::DT_FLOAT, DataType::DT_HALF, in ConvertBinary() local
4456 std::set<DataType> allowed_types{DataType::DT_FLOAT, DataType::DT_HALF}; in ConvertBinary() local
4458 TF_RETURN_IF_ERROR(AllowDataTypes(*params, allowed_types)); in ConvertBinary()
4744 std::set<DataType> allowed_types{DataType::DT_FLOAT, DataType::DT_HALF, in ConvertPack() local
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision.cc825 const auto& allowed_types = attr_def.allowed_values().list().type(); in AllowedDataTypes() local
826 if (allowed_types.empty()) { in AllowedDataTypes()
830 for (int dtype : allowed_types) { in AllowedDataTypes()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc1577 std::initializer_list<TfLiteType> allowed_types, in ExpectTypeIn() argument
1580 return Expect(std::find(allowed_types.begin(), allowed_types.end(), in ExpectTypeIn()
1581 actual_type) != allowed_types.end(), in ExpectTypeIn()