- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 225 for default_value (0.15 sec)
-
tensorflow/c/eager/c_api.cc
namespace tensorflow { void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op, const tensorflow::AttrValue& default_value, const char* attr_name, TF_Status* status) { switch (default_value.value_case()) { case tensorflow::AttrValue::kS: { const string& v = default_value.s(); TFE_OpSetAttrString(op, attr_name, v.data(), v.size()); break; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc
} string AttrView::InputArg(bool with_default_value) const { string default_value = DefaultValue(); if (!with_default_value || default_value.empty()) { return absl::Substitute("$0 $1", VariableType(), attr_.name()); } return absl::Substitute("$0 $1 = $2", VariableType(), attr_.name(), default_value); } string AttrView::SetterMethod() const { if (!attr_.is_list()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 4.3K bytes - Viewed (0) -
samples/ratelimit/local-rate-limit-service.yaml
filter_enabled: runtime_key: test_enabled default_value: numerator: 100 denominator: HUNDRED filter_enforced: runtime_key: test_enabled default_value: numerator: 100 denominator: HUNDRED response_headers_to_add:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 31 08:22:09 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.h
// `default_value`. template <typename T> static inline std::vector<T> GetOptionalVector( std::optional<DenseElementsAttr> elements, int64_t default_size = 0, int64_t default_value = 0) { if (elements.has_value()) { return GetVector<T>(elements.value()); } return std::vector<T>(default_size, default_value); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 21:00:09 UTC 2024 - 11.2K bytes - Viewed (0) -
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) -
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)