Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for set_is_stateful (0.25 sec)

  1. tensorflow/compiler/jit/ops/xla_ops.cc

        .Attr("Tresults: list(type) >= 0")
        .Attr("function: func")
        // XLA random-number generation ops are stateful.
        // TODO(phawkins): create stateful and non-stateful variants of XlaLaunch.
        .SetIsStateful()
        .Doc("XLA Launch Op. For use by the XLA JIT only.");
    
    REGISTER_OP("XlaLaunchV2")
        .Input("args: Targs")
        .Output("results: Tresults")
        .Attr("Targs: list(type) >= 0")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 09:08:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/aot_only_var_handle_op.cc

    )doc")
        .Attr("container: string = ''")
        .Attr("shared_name: string = ''")
        .Attr("debug_name: string = ''")
        .Attr("dtype: type")
        .Attr("shape: shape")
        .Output("resource: resource")
        .SetIsStateful()
        .SetShapeFn([](shape_inference::InferenceContext* c) {
          c->set_output(0, c->Scalar());
          DataType t;
          TF_RETURN_IF_ERROR(c->GetAttr("dtype", &t));
          PartialTensorShape p;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:57:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc

        .Input("tensor_data: T")
        .Attr("log_dir_path: string")
        .Attr("file_name: string")
        .Attr("T: type")
        .Attr("enabled: bool")
        .Attr("func_name: string")
        .Attr("node_name: string")
        .SetIsStateful();
    
    class DumpTensorOp : public OpKernel {
     public:
      explicit DumpTensorOp(OpKernelConstruction* ctx) : OpKernel(ctx) {
        string log_dir_path;
        string file_name;
        string func_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 03:12:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

    REGISTER_OP("CalibrationStatisticsSaver")
        .Input("args: Tin")
        .Attr("Tin: list(type) >= 0")
        .Attr("ids: list(string) >= 1")
        .Attr("calibration_methods: list(int) >= 1")
        .Attr("output_file_path: string")
        .SetIsStateful()
        .Doc(R"doc(
    Aggregates and saves the calibration statistics data.
    
    This op collects outputs of multiples CustomAggregator ops, which includes
    `min`, `max` and `histogram`. Then it aggregates them according to the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top