- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 253 for default_value (0.31 sec)
-
tensorflow/cc/framework/cc_op_gen_util.cc
"_ = x;\n"); strings::StrAppend(&setters, " return ret;\n }\n\n"); string field_initiliazer; auto& default_value = api_def_attr.default_value(); if (default_value.value_case() == AttrValue::kList && !IsEmptyList(default_value.list())) { // Non-empty lists need static storage for their defaults. Define a // function with static local variable that stores the array.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/c/eager/tfe_op_attrs_internal.h
// Set an AttrValue on the op. Doesn't handle the list types. void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op, const tensorflow::AttrValue& default_value, const char* attr_name, TF_Status* status); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 10 05:41:19 UTC 2021 - 1.6K bytes - Viewed (0) -
fastapi/dependencies/utils.py
field_info = params.File(annotation=use_annotation, default=default_value) elif not field_annotation_is_scalar(annotation=type_annotation): field_info = params.Body(annotation=use_annotation, default=default_value) else: field_info = params.Query(annotation=use_annotation, default=default_value) field = None if field_info is not None: if is_path_param:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:52:56 UTC 2024 - 29.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code: * * <pre> * TimeLimiter limiter = . . .; * TargetType proxy = limiter.newProxy( * target, TargetType.class, 50, TimeUnit.MILLISECONDS); * try { * return proxy.someMethod(); * } catch (UncheckedTimeoutException e) { * return DEFAULT_VALUE; * } * </pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc
OpDef_AttrDef attr = *FindAttr(arg.type_attr(), op_info.graph_op_def); if (attr.has_default_value() && attr.default_value().value_case() == AttrValue::kType) { type = DataType_Name(attr.default_value().type()); } else if (attr.has_allowed_values() && attr.allowed_values().value_case() == AttrValue::kList &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 27 16:26:51 UTC 2024 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code: * * <pre> * TimeLimiter limiter = . . .; * TargetType proxy = limiter.newProxy( * target, TargetType.class, 50, TimeUnit.MILLISECONDS); * try { * return proxy.someMethod(); * } catch (UncheckedTimeoutException e) { * return DEFAULT_VALUE; * } * </pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py
keys=[1, 2, 3, 4], values=[5, 6, 7, 8], key_dtype=tf.int32, value_dtype=tf.float32) table = tf.lookup.StaticHashTable( table_initializer, default_value=tf.constant(0.0)) x = tf.placeholder(tf.int32, shape=(), name='input') y = table.lookup(x) r = tf.add(y, z) tensor_info_x = tf.compat.v1.saved_model.utils.build_tensor_info(x)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.2K bytes - Viewed (0) -
cmd/genyaml/gen_kubectl_yaml.go
"k8s.io/cli-runtime/pkg/genericiooptions" "k8s.io/kubectl/pkg/cmd" "k8s.io/kubernetes/cmd/genutils" ) type cmdOption struct { Name string Shorthand string `yaml:",omitempty"` DefaultValue string `yaml:"default_value,omitempty"` Usage string `yaml:",omitempty"` } type cmdDoc struct { Name string Synopsis string `yaml:",omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 14:05:23 UTC 2023 - 4.2K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_test.cc
type: DT_FLOAT } attr { name: "T" type: "type" description: "Type for images" allowed_values { list { type: DT_UINT8 type: DT_INT8 } } default_value { i: 1 } } summary: "Summary for op Foo." description: "Description for op Foo." } )"; void ExpectHasSubstr(StringPiece s, StringPiece expected) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 29 20:04:30 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
arg_attr += '{{tfr.name="{}"'.format(attr_def.name) if attr_def.HasField('default_value'): default_val = _get_val_from_proto(arg_type, attr_def.default_value) arg_attr += ',tfr.default={}'.format(default_val) arg_attr += '}' idx += 1 arg_str = '{}: {}{}'.format(arg_name, arg_type, arg_attr) arg_list.append(arg_str)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0)