Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for output_file_path (0.22 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. 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)
Back to top