Home
last modified time | relevance | path

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

/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.py104 allowed_types = [dtypes.float32, dtypes.float64]
106 if op.inputs[0].dtype in allowed_types:
136 allowed_types = [dtypes.float16, dtypes.float32, dtypes.float64]
137 if op.inputs[0].dtype in allowed_types:
Dgradient_checker_v2.py268 allowed_types = [dtypes.float16, dtypes.bfloat16, dtypes.float32,
270 assert t.base_dtype in allowed_types, ("Cannot compute gradient for"
274 assert t2.base_dtype in allowed_types, ("Cannot compute gradient for"
Dgradient_checker.py221 allowed_types = [dtypes.float16, dtypes.bfloat16, dtypes.float32,
223 assert t.base_dtype in allowed_types, "Don't support type %s for x" % t.name
225 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.py37 allowed_types = {dtypes.float32, dtypes.float64, dtypes.bfloat16}
39 allowed_types.update({dtypes.int32, dtypes.int64})
40 return self.all_tf_types & allowed_types
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2.py1699 allowed_types = [ast.Str]
1701 allowed_types += [ast.Bytes]
1703 allowed_types += [ast.JoinedStr]
1705 allowed_types += [ast.FormattedValue]
1706 return isinstance(node, allowed_types)
/external/vulkan-validation-layers/layers/
Dstateless_validation.h498 … const void *next, size_t allowed_type_count, const VkStructureType *allowed_types, in validate_struct_pnext() argument
524 const VkStructureType *start = allowed_types; in validate_struct_pnext()
525 const VkStructureType *end = allowed_types + allowed_type_count; in validate_struct_pnext()