- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for as_str (0.19 sec)
-
cmd/bucket-targets.go
} // RemoveTarget - removes a remote bucket target for this source bucket. func (sys *BucketTargetSys) RemoveTarget(ctx context.Context, bucket, arnStr string) error { if arnStr == "" { return BucketRemoteArnInvalid{Bucket: bucket} } arn, err := madmin.ParseARN(arnStr) if err != nil { return BucketRemoteArnInvalid{Bucket: bucket} } if arn.Type == madmin.ReplicationService {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:09:56 UTC 2024 - 20.9K bytes - Viewed (0) -
src/math/rand/v2/regress_test.go
val = fmt.Sprintf("%#v", out) } else { val = fmt.Sprintf("%T(%v)", out, out) } fmt.Fprintf(&buf, "\t%s, // %s(%s)\n", val, m.Name, argstr) } else if p >= len(regressGolden) { t.Errorf("r.%s(%s) = %v, missing golden value", m.Name, argstr, out) } else { want := regressGolden[p] if m.Name == "Int" { want = int64(int(uint(want.(int64)) << 1 >> 1)) } if m.Name == "Uint" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:03:11 UTC 2024 - 20.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java
for (Object argument : arguments) { String argStr = argument.toString(); if (argStr.equals("-ea") || argStr.equals("-enableassertions")) { assertionsEnabled = true; } else if (argStr.equals("-da") || argStr.equals("-disableassertions")) { assertionsEnabled = false; } else if (argStr.startsWith(XMS_PREFIX)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/nms_utils.cc
auto int_attr = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get(attribute)); if (!int_attr) { return func.emitError() << attribute.c_str() << " attribute is not set or not an integer"; } builder->Int(attribute.c_str(), int_attr.getInt()); return success(); } LogicalResult ConvertSSDPostProcessFunc::AddFloatAttr(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/c/tf_status_helper.cc
status.ForEachPayload( [tf_status](absl::string_view key, const absl::Cord& value) { std::string key_str(key); std::string value_str(value); TF_SetPayload(tf_status, key_str.c_str(), value_str.c_str()); }); } absl::Status StatusFromTF_Status(const TF_Status* tf_status) { absl::Status status(StatusCodeFromTSLCode(TF_GetCode(tf_status)), TF_Message(tf_status));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
// Parse line. if len(parts) != 3 { log.Fatalf(`%s:%d: invalid symabi: syntax is "%s sym abi"`, file, lineNum, parts[0]) } sym, abistr := parts[1], parts[2] abi, valid := obj.ParseABI(abistr) if !valid { log.Fatalf(`%s:%d: invalid symabi: unknown abi "%s"`, file, lineNum, abistr) } sym = s.canonicalize(sym) // Record for later. if parts[0] == "def" { s.defs[sym] = abi } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
grad_inputs[0]->Ref(); // Grad for bias std::string name = "bias_add_grad"; TF_RETURN_IF_ERROR(BiasAddGrad(ctx, upstream_grad, &grad_inputs[1], data_format.c_str(), name.c_str())); return absl::OkStatus(); } ~BiasAddGradientFunction() override {} private: AttrBuilder forward_attrs_; }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:38:45 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
TFE_DeleteContextOptions(opts); std::string model_dir = SavedModelPath("VarsAndArithmeticObjectGraph"); TF_SavedModel* saved_model = TF_LoadSavedModelWithTags(model_dir.c_str(), ctx, kServeTag, 1, status); // TODO(bmzhao): Change this to expect TF_OK when loading is implemented. // That unblocks writing other tests that require a TF_SavedModel*,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc
std::istreambuf_iterator<char>()}; } flatbuffers::Verifier model_verifier( reinterpret_cast<const uint8_t*>(serialized_model->c_str()), serialized_model->length()); if (!model_verifier.VerifyBuffer<Model>()) { std::cerr << "Verification failed.\n"; return true; } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 15:52:23 UTC 2024 - 4.8K bytes - Viewed (0)