- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 127 for as_str (0.2 sec)
-
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) -
tensorflow/compiler/mlir/lite/mlir_tflite_runner.cc
// Print tensor result. fprintf(stdout, "Tensor<type: %s, shape: %s, values: %s>\n", TfLiteTypeGetName(out.type), TfLiteTensorDimString(out).c_str(), TfLiteTensorString(out).c_str()); } if (dump_state) tflite::PrintInterpreterState(interpreter.get()); return 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 6.3K 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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParserTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/runtime_test.cc
const std::string module_path = tensorflow::GetDataDependencyFilepath(kSimpleModel); TF_ASSERT_OK_AND_ASSIGN(Object module, runtime.Load(String(module_path.c_str()))); std::cout << "Module imported." << std::endl; TF_ASSERT_OK_AND_ASSIGN(Callable fn, module.Get<Callable>(String("test_float"))); TF_ASSERT_OK_AND_ASSIGN(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 09 12:27:54 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
TFE_OpSetAttrString(op, "tensor_name", "dummy", 5); TFE_OpSetAttrString(op, "send_device", send_device.c_str(), send_device.size()); TFE_OpSetAttrString(op, "recv_device", recv_device.c_str(), recv_device.size()); TFE_OpSetAttrInt(op, "send_device_incarnation", send_device_incarnation); return op; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
internal/arn/arn.go
"", // account-id is always empty in this implementation arn.ResourceType + "/" + arn.ResourceID, }, ":", ) } // Parse - parses an ARN string into a type. func Parse(arnStr string) (arn ARN, err error) { ps := strings.Split(arnStr, ":") if len(ps) != 6 || ps[0] != string(arnPrefixArn) { err = errors.New("invalid ARN string format") return } if ps[1] != string(arnPartitionMinio) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K 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/compiler/mlir/tensorflow/utils/eval_util.cc
node_name = std::string(attr.getValue()); } auto node_def_or = ConvertTFDialectOpToNodeDef( inst, node_name.c_str(), /*ignore_unregistered_attrs=*/true); RETURN_FAILURE_IF_ERROR(node_def_or.status()); const auto& node_def = node_def_or.value(); TFE_Op* op = TFE_NewOp(context, node_def->op().c_str(), status); RETURN_FAILURE_IF_ERROR(status); auto clean_op = MakeCleanup([op] { TFE_DeleteOp(op); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 13 06:02:14 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
parallel_device.num_underlying_devices(), " inputs to TPUReplicatedInput, but got ", inputs.size())); TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str()); return result; } std::vector<TensorHandlePtr> components; components.reserve(inputs.size()); for (int i = 0; i < inputs.size(); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 29 22:05:31 UTC 2023 - 18.3K bytes - Viewed (0)