Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for input_idx (0.15 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        TFE_OpReset(op_.get(), operation_name, device_.c_str(), status);
        if (TF_GetCode(status) != TF_OK) return;
      }
      TFE_OpAddAttrs(op_.get(), attributes);
      for (int input_index = 0; input_index < inputs.size(); ++input_index) {
        TFE_OpAddInput(op_.get(), inputs[input_index], status);
        if (TF_GetCode(status) != TF_OK) return;
      }
      std::vector<TFE_TensorHandle*> unwrapped_results(expected_max_outputs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

                             int input_index, bool use_function,
                             AbstractTensorHandle** numerical_grad) {
      vector<AbstractTensorHandle*> theta_inputs(inputs.size());
      for (int i{}; i < inputs.size(); ++i) {
        theta_inputs[i] = inputs[i];
      }
    
      AbstractTensorHandle* theta =
          theta_inputs[input_index];  // parameter we are grad checking
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

            %weight = "tf.Const"() {value = dense<1> : tensor<1024x24x24x3xi8>} : () -> tensor<1024x24x24x3xi8>
            %input_i32 = "tf.Cast"(%weight) : (tensor<1024x24x24x3xi8>) -> tensor<1024x24x24x3xi32>
            %output = "tf.Sub"(%input_i32, %zp) : (tensor<1024x24x24x3xi32>, tensor<i32>) -> tensor<1024x24x24x3xi32>
            %cast = "tf.Cast"(%output) : (tensor<1024x24x24x3xi32>) -> tensor<1024x24x24x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. tensorflow/c/kernels_experimental.h

    // This interface forwards the reference from input to the output tensors
    // corresponding to the indices provided with `input_index` and `output_index`
    TF_CAPI_EXPORT extern void TF_OpKernelContext_ForwardRefInputToRefOutput(
        TF_OpKernelContext* ctx, int32_t input_index, int32_t output_index);
    
    // The API releases the opaque lock handle returned with
    // `TF_MaybeLockVariableInputMutexesInOrder` API
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

                                    const_op->getResult(0));
        auto dq = rewriter.create<DQ>(const_op->getLoc(), expressed_type, q);
        op.setOperand(input_index, dq.getResult());
        return success();
      }
    
      LogicalResult replaceStatsOp(
          SourceOp op, quantfork::StatisticsOp stats_op, int input_index,
          const operator_property::TensorProperty& tensor_property,
          PatternRewriter& rewriter) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

               << absl::StrJoin(xla_output_description.shape.dim_sizes(), ", ")
               << ')';
        if (xla_output_description.input_index >= 0)
          output << " input_index=" << xla_output_description.input_index;
        if (xla_output_description.is_constant) output << " constant";
        if (xla_output_description.is_tensor_list) output << " tensor_list";
        output << '\n';
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/graph-resource.mlir

    // CHECK-NEXT:  }
    
    // CHECK:       // InputMapping {0, 1}
    // CHECK-NEXT:  // XlaInputShape f32[2]
    // CHECK-NEXT:  // XlaInputShape f32[2]
    // CHECK-NEXT:  // XlaOutputShape (f32[2])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/graph-resource.pbtxt

    # CHECK-NEXT:  }
    
    # CHECK:       // InputMapping {0, 1}
    # CHECK-NEXT:  // XlaInputShape f32[2]
    # CHECK-NEXT:  // XlaInputShape f32[2]
    # CHECK-NEXT:  // XlaOutputShape (f32[2])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 15 06:15:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradient_checker_test.cc

        Model model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, int input_index,
        float* expected_grad, int num_grad, bool use_function,
        double abs_error = 1e-2) {
      Status s;
      AbstractTensorHandlePtr numerical_grad;
      {
        AbstractTensorHandle* numerical_grad_raw;
        s = CalcNumericalGrad(ctx, model, inputs, input_index, use_function,
                              &numerical_grad_raw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir

        // Use identity op to avoid the weight being constant-folded.
        %identity = "tf.Identity"(%input) : (tensor<*xi8>) -> tensor<*xi8>
        %input_i32 = "tf.Cast"(%identity) : (tensor<*xi8>) -> tensor<*xi32>
        %output = "tf.Sub"(%input_i32, %zp) : (tensor<*xi32>, tensor<*xi32>) -> tensor<*xi32>
        %cast = "tf.Cast"(%output) : (tensor<*xi32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top