- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for Tstring (0.24 sec)
-
test/convert1.go
_ = string(si) // ERROR "cannot convert.* string|invalid type conversion" _ = []byte(si) // ERROR "cannot convert.*\[\]byte|invalid type conversion" _ = []rune(si) // ERROR "cannot convert.*\[\]rune|invalid type conversion" _ = []int64(si) _ = Tstring(si) // ERROR "cannot convert.*Tstring|invalid type conversion" _ = Tbyte(si) // ERROR "cannot convert.*Tbyte|invalid type conversion"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 3.4K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op_test.cc
int vectorSize = 3; Tensor tags(DT_STRING, {vectorSize}); Tensor values(DT_DOUBLE, {vectorSize}); tags.vec<tstring>()(0) = "tag1"; tags.vec<tstring>()(1) = "tag2"; tags.vec<tstring>()(2) = "tag3"; values.vec<double>()(0) = 1.0; values.vec<double>()(1) = -0.73; values.vec<double>()(2) = 10000.0; TestScalarSummaryOp(&tags, &values, R"( value { tag: 'tag1' simple_value: 1.0 }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 18 15:10:51 UTC 2022 - 6.7K bytes - Viewed (0) -
tensorflow/c/kernels/histogram_summary_op.cc
/*dims=*/nullptr, /*num_dims=*/0, /*len=*/sizeof(tensorflow::tstring), status.get())); if (TF_GetCode(status.get()) != TF_OK) { TF_OpKernelContext_Failure(ctx, status.get()); return; } tensorflow::tstring* output_tstring = reinterpret_cast<tensorflow::tstring*>( TF_TensorData(summary_tensor.get())); CHECK(SerializeToTString(s, output_tstring)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/c/kernels/merge_summary_op.cc
/*dims=*/nullptr, /*num_dims=*/0, /*len=*/sizeof(tensorflow::tstring), status.get())); if (TF_GetCode(status.get()) != TF_OK) { TF_OpKernelContext_Failure(ctx, status.get()); return; } tensorflow::tstring* output_tstring = reinterpret_cast<tensorflow::tstring*>( TF_TensorData(summary_tensor.get())); CHECK(SerializeToTString(s, output_tstring)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 31 03:28:11 UTC 2021 - 4.7K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op.cc
sizeof(tensorflow::tstring), params.status); if (TF_GetCode(params.status) != TF_OK) { TF_DeleteTensor(summary_tensor); TF_OpKernelContext_Failure(ctx, params.status); return; } tensorflow::tstring* output_tstring = reinterpret_cast<tensorflow::tstring*>(TF_TensorData(summary_tensor)); CHECK(SerializeToTString(s, output_tstring));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/universe.go
types.IsSimple[et] = true } } types.IsSimple[types.TBOOL] = true okforadd[types.TSTRING] = true okforbool[types.TBOOL] = true okforcap[types.TARRAY] = true okforcap[types.TCHAN] = true okforcap[types.TSLICE] = true ir.OKForConst[types.TBOOL] = true ir.OKForConst[types.TSTRING] = true okforlen[types.TARRAY] = true okforlen[types.TCHAN] = true okforlen[types.TMAP] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); EXPECT_EQ(TF_NumDims(result), 0); tensorflow::tstring* output_value = static_cast<tensorflow::tstring*>(TF_TensorData(result)); std::string file_contents(*output_value); EXPECT_NE(file_contents.find("TEST ASSET FILE CONTENTS"), std::string::npos); TF_DeleteTensor(result); TFE_DeleteTensorHandle(read_file_fn_outputs[0]); TFE_DeleteOp(read_file_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
test/convlit.go
// explicit conversion of constants var x1 = string(1) var x2 string = string(1) var x3 = int(1.5) // ERROR "convert|truncate" var x4 int = int(1.5) // ERROR "convert|truncate" var x5 = "a" + string(1) var x6 = int(1e100) // ERROR "overflow|cannot convert" var x7 = float32(1e1000) // ERROR "overflow|cannot convert" // unsafe.Pointer can only convert to/from uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 23 05:11:09 UTC 2021 - 2.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
test::AsTensor<tstring>({"foo.txt"}, TensorShape({})), path_outputs[0]); } void CheckSavedModelBundle(const string& export_dir, const SavedModelBundleLite& bundle) { ValidateAssets(export_dir, bundle); // Retrieve the regression signature from the bundle. const auto& signature_def = bundle.GetSignatures().at("regress_x_to_y");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/restore_ops.cc
if (tensor.get() == nullptr) { return errors::Internal( "Failed to create vector string tensor for checkpoint restore"); } // Use placement new to construct the string, since we don't have // access to Tensor::flat. This is conceptually equivalent to: // tensor.flat<tstring>()(0) = s new (tensor->Data()) tstring(s); out->reset(ctx->CreateLocalHandle(tensor.get())); return Status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 4.5K bytes - Viewed (0)