Home
last modified time | relevance | path

Searched refs:allowed_values (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v1.pbtxt31 allowed_values {
55 allowed_values {
80 allowed_values {
112 allowed_values {
160 allowed_values {
209 allowed_values {
256 allowed_values {
294 allowed_values {
334 allowed_values {
375 allowed_values {
[all …]
Dops_history.v2.pbtxt31 allowed_values {
55 allowed_values {
80 allowed_values {
112 allowed_values {
160 allowed_values {
209 allowed_values {
256 allowed_values {
294 allowed_values {
334 allowed_values {
375 allowed_values {
[all …]
Dops_history.v0.pbtxt41 allowed_values {
64 allowed_values {
93 allowed_values {
155 allowed_values {
188 allowed_values {
218 allowed_values {
249 allowed_values {
281 allowed_values {
313 allowed_values {
346 allowed_values {
[all …]
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt31 allowed_values {
63 allowed_values {
110 allowed_values {
175 allowed_values {
211 allowed_values {
238 allowed_values {
267 allowed_values {
343 allowed_values {
424 allowed_values {
468 allowed_values {
[all …]
/external/tensorflow/tensorflow/core/framework/
Dkernel_def_util.cc40 if (constraint.allowed_values().list().type_size() == 0) { in KernelAttrsMatch()
45 SummarizeAttrValue(constraint.allowed_values())); in KernelAttrsMatch()
51 if (!InTypeList(found->type(), constraint.allowed_values())) { in KernelAttrsMatch()
67 constraint.allowed_values())) { in KernelAttrsMatch()
Dop_def_util.cc46 const AttrValue& allowed_values(attr.allowed_values()); in AllowedTypeValue() local
47 for (auto allowed : allowed_values.list().type()) { in AllowedTypeValue()
53 for (int i = 0; i < allowed_values.list().type_size(); ++i) { in AllowedTypeValue()
58 DataTypeString(allowed_values.list().type(i))); in AllowedTypeValue()
66 const AttrValue& allowed_values(attr.allowed_values()); in AllowedStringValue() local
67 for (const auto& allowed : allowed_values.list().s()) { in AllowedStringValue()
73 for (const string& allowed : allowed_values.list().s()) { in AllowedStringValue()
313 AttrValueHasType(attr.allowed_values(), list_type), " for attr '", in ValidateOpDef()
405 SummarizeAttrValue(op_def.attr(i).allowed_values())); in SummarizeOpDef()
450 if (!IsSubsetOf(old_attr.allowed_values().list().type(), in MoreRestrictive()
[all …]
Dkernel_def_builder.cc41 auto* allowed_values = constraint->mutable_allowed_values()->mutable_list(); in TypeConstraint() local
43 allowed_values->add_type(dt); in TypeConstraint()
Dkernel_def.proto23 // Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
24 AttrValue allowed_values = 2; field
Dop_def.proto95 // of "allowed_values.list" has the set of allowed DataTypes.
97 // "allowed_values.list" has the set of allowed strings.
98 AttrValue allowed_values = 7; field
Dop_def_builder_test.cc250 "attr: { name: 'a' type: 'list(string)' allowed_values { list { s: "
Dop_kernel.cc1249 SummarizeAttrValue(kernel_def.constraint(i).allowed_values())); in KernelsRegisteredForOp()
Dfunction.cc551 strings::StrAppend(&out, a.name(), ":", Print(a.allowed_values())); in Print()
/external/mesa3d/
Dcommon.py88 allowed_values=('debug', 'checked', 'profile',
93 allowed_values=('generic', 'ppc', 'x86', 'x86_64')))
95 allowed_values=('cygwin', 'darwin', 'freebsd', 'haiku',
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_registry_test.cc75 EXPECT_EQ(kernels.constraint(0).allowed_values().list().type(0), in TEST()
78 EXPECT_EQ(kernels.constraint(0).allowed_values().list().type(0), in TEST()
Dxla_op_registry.cc265 auto* allowed_values = in RegisterCompilationKernels() local
271 ? &op_def_attr.allowed_values().list().type() in RegisterCompilationKernels()
293 allowed_values->add_type(dtype); in RegisterCompilationKernels()
296 allowed_values->add_type(DT_RESOURCE); in RegisterCompilationKernels()
299 allowed_values->add_type(DT_VARIANT); in RegisterCompilationKernels()
302 if (allowed_values->type().empty()) { in RegisterCompilationKernels()
Dtf2xla_supported_ops.cc52 for (int type : constraint.allowed_values().list().type()) { in PrintSupportedOps()
/external/vixl/
DSConstruct198 def DefaultVariable(name, help, allowed_values):
199 help = '%s (%s)' % (help, '|'.join(allowed_values))
202 if value != default_value and value not in allowed_values:
204 'Valid values are: {allowed_values}'.format(
205 name, value, allowed_values))
209 def AliasedListVariable(name, help, default_value, allowed_values, aliasing):
211 (help, ', '.join(allowed_values))
217 if v not in allowed_values:
223 translated = [aliasing[v] for v in allowed_values]
241 'release', allowed_values=config.build_options_modes),
[all …]
/external/tensorflow/tensorflow/python/framework/
Dop_def_library.py54 allowed_list = attr_def.allowed_values.list.type
703 if attr_value.s not in attr_def.allowed_values.list.s:
708 attr_def.allowed_values.list.s))))
713 if x not in attr_def.allowed_values.list.s:
718 attr_def.allowed_values.list.s))))
Dpython_op_gen_internal.cc232 TypeListString(attr->allowed_values()), "."); in ArgTypeName()
258 TypeListString(attr->allowed_values()), "."); in ArgTypeName()
263 TypeListString(attr->allowed_values()), "."); in ArgTypeName()
730 AttrListToPython(attr.allowed_values()), "`"); in AddDocStringAttrs()
/external/tensorflow/tensorflow/python/framework/testdata/
Dmetrics_export_meta_graph.pb58 allowed_values {
180 allowed_values {
280 allowed_values {
344 allowed_values {
369 allowed_values {
/external/tensorflow/tensorflow/go/genop/internal/
Dgenop_test.go101 allowed_values: <
382 allowed_values: <
/external/tensorflow/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/
Dsaved_model.pbtxt22 allowed_values {
140 allowed_values {
246 allowed_values {
258 allowed_values {
316 allowed_values {
/external/jsoncpp/
DSConstruct6 - add its name in options allowed_values below
21allowed_values='suncc vacpp mingw msvc6 msvc7 msvc71 msvc80 msvc90 linux-gcc'.split(),
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_specs.cc158 if (IsRealNumbers(attr_def.allowed_values())) { in TypesOf()