- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 106 for as_str (0.11 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/cel/value_test.go
}) { t.Errorf("got %v, wanted {'Test': 12u, 'Check': 34u}", mpStrUint) } tstStr, err := mv.ConvertToNative(reflect.TypeOf(&tstStruct{})) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(tstStr, &tstStruct{ Test: uint64(12), Check: uint64(34), }) { t.Errorf("got %v, wanted tstStruct{Test: 12u, Check: 34u}", tstStr) } } func TestMapValueEqual(t *testing.T) { mv := NewMapValue()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 10.4K bytes - Viewed (0) -
src/net/nss_test.go
"rpc": { {source: "db"}, {source: "files"}, }, "netgroup": { {source: "nis"}, }, }, }, }, } for _, tt := range tests { gotConf := nssStr(t, tt.in) gotConf.mtime = time.Time{} // ignore mtime in comparison if !reflect.DeepEqual(gotConf, tt.want) { t.Errorf("%s: mismatch\n got %#v\nwant %#v", tt.name, gotConf, tt.want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:15:51 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td
//===----------------------------------------------------------------------===// // String/variant/resource types (including corresponding reference types) def TF_Str : AnyTypeOf< [TF_TensorFlowType<"String", "str">, TF_StrRef], "string">; def TF_StrTensor : TensorOf<[TF_Str]>; def TF_Variant : AnyTypeOf< [TF_TensorFlowType<"Variant", "var">, TF_VariantRef], "variant">; def TF_VariantTensor : TensorOf<[TF_Variant]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 30.5K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/funcprops_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc
auto module_op = module.get(); auto serialized_result_fb = ExportRuntimeMetadata(module_op); const auto* result = GetRuntimeMetadata(serialized_result_fb.value().c_str()); const auto* expected = GetRuntimeMetadata(kExpectedFB.c_str()); ASSERT_TRUE(result != nullptr); ASSERT_TRUE(result->subgraph_metadata() != nullptr); ASSERT_TRUE(expected->subgraph_metadata() != nullptr); Verify(result, expected); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_NewStatus(), TF_DeleteStatus); // Start a new function / execution context. string fn_name = "double"; TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name.c_str(), status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); auto* placeholder_t = TF_AddFunctionParameter(graph_ctx, TF_FLOAT, {-1, nullptr}, status.get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 39.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.h
private: // Whether to run this pass. If this is enabled, the NodeDef will be imported // to MLIR even no tf composition file is found. bool IsEnabled() { const char* tfr_lib_env_val = getenv(string(kTFRLibEnv).c_str()); return tfr_lib_env_val != nullptr; } }; } // namespace tfr } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
std::string flops_str; std::string mac_str; if (ops_count < 10000) { flops_str = absl::StrFormat("%ld ", ops_count); mac_str = absl::StrFormat("%ld ", ops_count / 2); } else if (ops_count < billion) { flops_str = absl::StrFormat("%.3f M ", static_cast<double>(ops_count) / million); mac_str = absl::StrFormat("%.3f M ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc
} // namespace } // namespace mlir int main(int argc, char** argv) { llvm::InitLLVM y(argc, argv); llvm::cl::ParseCommandLineOptions(argc, argv); auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str()); if (std::error_code error = file_or_err.getError()) { llvm::errs() << argv[0] << ": could not open input file '" << inputFileName << "': " << error.message() << "\n"; return 1; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 2.4K bytes - Viewed (0)