Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for output_file_path (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/SymbolExtractorOsConfig.java

        DSYMUTIL("dsymutil", Lists.<String>newArrayList("-f"), ".dwarf") {
            @Override
            public List<String> getInputOutputFileArguments(String inputFilePath, String outputFilePath) {
                return Lists.newArrayList("-o", outputFilePath, inputFilePath);
            }
        };
    
        private static final OperatingSystem OS = OperatingSystem.current();
    
        private final String executable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslAssignmentIntegrationTest.kt

                    }
                }
    
                tasks.register<MyTask>("myTask") {
                    input = "Hello world"
                    output = File("$outputFilePath")
                }
                """.trimIndent()
            )
            return File(outputFilePath)
        }
    
        private
        fun withSettingsWithAssignment() {
            withSettings("""
                import org.gradle.kotlin.dsl.support.serviceOf
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top