- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for as_str (0.4 sec)
-
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) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc
std::string mat_mul_method = absl::StrFormat(kMatMulModuleStr, test_case.mat_mul_method); TF_ASSERT_OK_AND_ASSIGN( XlaCompiler::CompilationResult result, CompileMlirModule( mat_mul_method.c_str(), ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_UNSPECIFIED)); } INSTANTIATE_TEST_SUITE_P( BatchMatMulTest, BatchMatMulTest, ::testing::ValuesIn<MatMulTestCase>({ {"BatchMatMul"},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 16.1K 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) -
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/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc
} // 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: Tue May 21 18:21:50 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
return absl::OkStatus(); }); // Register the corresponding fake op kernel. const char* node_name = opdef.name().c_str(); const char* op_name = opdef.name().c_str(); const char* device_name = "CPU"; static auto fake_compute_func = [](void* kernel, TF_OpKernelContext* ctx) { }; TF_KernelBuilder* builder =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
operator/pkg/name/name.go
PDBStr = "PodDisruptionBudget" ReplicaSetStr = "ReplicaSet" RoleStr = "Role" RoleBindingStr = "RoleBinding" SAStr = "ServiceAccount" ServiceStr = "Service" SecretStr = "Secret" StatefulSetStr = "StatefulSet"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc
node_name = std::string(attr.getValue()); } absl::StatusOr<std::unique_ptr<tensorflow::NodeDef>> node_def = tensorflow::ConvertTFDialectOpToNodeDef( inst, node_name.c_str(), /*ignore_unregistered_attrs=*/true); RETURN_FAILURE_IF_ERROR(node_def.status()); const FallbackState& fallback_state = GetDefaultFallbackState();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0)