Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OP_REQUIRES_OK (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

          : OpKernel(context) {
        OP_REQUIRES_OK(context, context->GetAttr("id", &id_));
    
        int calibration_method_value;
        int num_bins;
        float min_percentile;
        float max_percentile;
        OP_REQUIRES_OK(context, context->GetAttr("calibration_method",
                                                 &calibration_method_value));
        OP_REQUIRES_OK(context, context->GetAttr("num_bins", &num_bins));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

        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_));
    
        OP_REQUIRES_OK(context, context->GetAttr("ids", &ids_));
        OP_REQUIRES_OK(context, context->GetAttr("calibration_methods",
    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/c/kernels_experimental.cc

      OP_REQUIRES_OK(context, s);
      allocFunc(ctx, tmp_var_tf.get(), dtype, dims, num_dims, tf_status);
      s = tensorflow::StatusFromTF_Status(tf_status);
      if (!s.ok()) tmp_var->Unref();
      OP_REQUIRES_OK(context, s);
    
      OP_REQUIRES_OK(context, TF_TensorToTensor(tmp_var_tf.get(), &tmp_var->val));
      OP_REQUIRES_OK(context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/kernels/xla_ops.cc

              GatherVariableInfo(ctx, *closure.compilation_result(),
                                 closure.num_constant_args());
          OP_REQUIRES_OK(ctx, updated_variables.status());
          OP_REQUIRES_OK(ctx, LockVariables(absl::MakeSpan(*updated_variables)));
          OP_REQUIRES_OK(
              ctx, RunPjRtExecutable(closure.num_constant_args(), inputs,
                                     variable_snapshots, *updated_variables,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top