- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 65 for as_str (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc
}; TEST(Dump, TextualIrToFileSuccess) { Graph graph(OpRegistry::Global()); Node* node; TF_CHECK_OK(NodeBuilder("A", "NoOp").Finalize(&graph, &node)); setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); UseMlirForGraphDump(MlirDumpConfig()); string ret = DumpGraphToFile("tir", graph); ASSERT_EQ(ret, io::JoinPath(testing::TmpDir(), "tir.mlir")); string actual;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/logging_hooks_test.cc
context_.loadAllAvailableDialects(); env_ = Env::Default(); test_group_name_ = "TestGroup"; test_dir_ = testing::TmpDir(); setenv("TF_DUMP_GRAPH_PREFIX", test_dir_.c_str(), 1); } absl::Status CreateMlirModule(std::string mlir_module_filename) { std::string mlir_module_path = TestDataPath() + mlir_module_filename; mlir_module_ =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 3.6K bytes - Viewed (0) -
src/net/http/request_test.go
req.AddCookie(c) } got := req.CookiesNamed(tt.filter) if !reflect.DeepEqual(got, tt.want) { asStr := func(v any) string { blob, _ := json.MarshalIndent(v, "", " ") return string(blob) } t.Fatalf("Result mismatch\n\tGot: %s\n\tWant: %s", asStr(got), asStr(tt.want)) } }) } } const ( fileaContents = "This is a test file."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h
Set(rhs); return *this; } void Set(const FilePath& rhs) { pathname_ = rhs.pathname_; } const std::string& string() const { return pathname_; } const char* c_str() const { return pathname_.c_str(); } // Returns the current working directory, or "" if unsuccessful. static FilePath GetCurrentDir(); // Given directory = "dir", base_name = "test", number = 0,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
const char* TF_OperationName(TF_Operation* oper) { return oper->node.name().c_str(); } const char* TF_OperationOpType(TF_Operation* oper) { return oper->node.type_string().c_str(); } const char* TF_OperationDevice(TF_Operation* oper) { return oper->node.requested_device().c_str(); } int TF_OperationNumOutputs(TF_Operation* oper) { return oper->node.num_outputs();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/aot/embedded_protocol_buffers.cc
const llvm::Target* target = llvm::TargetRegistry::lookupTarget(normalized_triple, error); if (target == nullptr) { return xla::Internal("TargetRegistry::lookupTarget failed: %s", error.c_str()); } return absl::WrapUnique(target->createTargetMachine( normalized_triple, /*CPU=*/"", /*Features=*/"", llvm::TargetOptions(), std::nullopt)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:48:41 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
return FlatBufferModel::BuildFromFile(model_path.c_str()); } std::unique_ptr<FlatBufferModel> ReadSharedWeightsTestModel() { auto model_path = tensorflow::io::JoinPath(*g_test_model_dir, internal::kModelWithSharedWeights); return FlatBufferModel::BuildFromFile(model_path.c_str()); } std::unique_ptr<FlatBufferModel> ReadGatherTestModel() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
// ABIs. ABIInternal ABICount ) // ParseABI converts from a string representation in 'abistr' to the // corresponding ABI value. Second return value is TRUE if the // abi string is recognized, FALSE otherwise. func ParseABI(abistr string) (ABI, bool) { switch abistr { default: return ABI0, false case "ABI0": return ABI0, true case "ABIInternal": return ABIInternal, true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
type = type.replace(0, 5, ""); type = type.replace(type.size() - 1, 1, ""); } op_name += type; return TF_NewOperation( graph_, op_name.c_str(), ::tensorflow::strings::StrCat("name", counter_++).c_str()); } TF_Status* s_; private: TF_Graph* graph_; int counter_; }; // Helper macros for the TF_OperationGetAttr* tests.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
test_name_stream << test_info->test_base_name << "/" << i; MakeAndRegisterTestInfo( test_case_name.c_str(), test_name_stream.GetString().c_str(), NULL, // No type parameter. PrintToString(*param_it).c_str(), GetTestCaseTypeId(), TestCase::SetUpTestCase, TestCase::TearDownTestCase,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0)