- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for output_file_path (0.25 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc
const std::string dir = testing::TmpDir(); const std::string output_file_path = io::JoinPath(dir, "statistics.pbtxt"); TF_CHECK_OK(NodeDefBuilder("op", "CalibrationStatisticsSaver") .Input(inputs) .Attr("ids", ids) .Attr("calibration_methods", calibration_methods) .Attr("output_file_path", output_file_path) .Finalize(node_def()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc
absl::Nonnull<OpKernelConstruction*> context) : OpKernel(context) { std::string output_file_path; OP_REQUIRES_OK(context, context->GetAttr("output_file_path", &output_file_path)); OP_REQUIRES_OK(context, context->env()->NewWritableFile(output_file_path, &output_file_));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir
// CHECK-SAME: is_stateless = false // CHECK: "tf.CalibrationStatisticsSaver" // CHECK-SAME: output_file_path = "serving_default_0.pb" // CHECK: "tf.CalibrationStatisticsSaver" // CHECK-SAME: output_file_path = "serving_default_1.pb" // CHECK: "tf.CalibrationStatisticsSaver" // CHECK-SAME: output_file_path = "serving_default_2.pb"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc
} } // Inserts a `CalibrationStatisticsSaverOp` to the end of the region. LogicalResult InsertCalibrationStatisticsSaverOp( Region& region, MLIRContext& ctx, absl::string_view output_file_path, const std::unordered_set<std::string>& aggregator_ops_to_ignore) { SmallVector<Value> statistics_outputs; SmallVector<StringRef> ids; SmallVector<int32_t> calibration_methods;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver_with_skipping.mlir
// CHECK: "tf.CalibrationStatisticsSaver"(%[[MIN_1]], %[[MAX_1]], %[[HISTOGRAM_1]]) // CHECK-SAME: <{calibration_methods = [5 : i32], ids = ["keeping_id"], output_file_path = "serving_default_0.pb"}> : (tensor<f32>, tensor<f32>, tensor<512xi64>) -> () // CHECK: return // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td
let summary = "Aggregates and saves calibration statistics."; let arguments = (ins Variadic<TensorOf<[TF_Float32, TF_Int64]>>:$inputs, StrAttr:$output_file_path, StrArrayAttr:$ids, I32ArrayAttr:$calibration_methods ); TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>; } def TF_DumpTensorOp : TF_Op<"DumpTensor", []> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/bootstrap/instance.go
return "", err } templateFile := GetEffectiveTemplatePath(i.Metadata.ProxyConfig) outputFilePath := configFile(i.Metadata.ProxyConfig.ConfigPath, templateFile) outputFile, err := os.Create(outputFilePath) if err != nil { return "", err } defer func() { _ = outputFile.Close() }() // Write the content of the file.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/dryrun/dryrun.go
// Fall back to the "real" path if PrintPath is not set outputFilePath := file.PrintPath if len(outputFilePath) == 0 { outputFilePath = file.RealPath } fmt.Fprintf(w, "[dryrun] Would write file %q with content:\n", outputFilePath) apiclient.PrintBytesWithLinePrefix(w, fileBytes, "\t") } return errorsutil.NewAggregate(errs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 6.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
getNs = generateMockGetNsFunc(testSandboxDirectory) tmpDir := t.TempDir() outputFilePath := filepath.Join(tmpDir, "output.txt") if _, err := os.Create(outputFilePath); err != nil { t.Fatalf("Failed to create temp file for IPTables rule output: %v", err) } t.Setenv(dependencies.DryRunFilePath.Name, outputFilePath) pod := buildFakeDryRunPod() pod.ObjectMeta.Annotations = tt.annotations
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy
String buildDir = 'build' String overlappingOutputDir TestFile getOutputDir() { file(outputDirPath) } TestFile getOutputFile() { file(outputFilePath) } String getOutputDirPath() { return "${buildDir}/outputDir" } String getOutputFilePath() { return "${buildDir}/outputFile" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 23K bytes - Viewed (0)