Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for output_file_path (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
Back to top