Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for n_init_values (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      const auto &init_values_ty = op.getInitValues().getType();
      int n_init_values = init_values_ty.size();
      if (n_init_values != n_inputs) {
        return op.emitOpError() << "Number of inputs (" << n_inputs
                                << ") is different than number of init_values ("
                                << n_init_values << ")";
      }
    
      auto input_ty_0 = inputs_ty[0].cast<ShapedType>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/gradient_checker.cc

    Status ComputeGradientError(const Scope& scope, const Output& x,
                                const Tensor& x_init_value, const Output& y,
                                const TensorShape& y_shape, JAC_T* max_error) {
      // Initialize 'x_data' from 'x_init_value'.
      std::vector<Tensor> x_datas(1, Tensor(x_init_value));
      // Compute gradient error.
      return ComputeGradientErrorInternal<X_T, Y_T, JAC_T>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    // set of values. Returns the final set of values via `final_values`. The
    // initial set of values is passed in via `init_values`.
    //
    // This effectively does:
    //
    // ```c++
    // SmallVector<Values, 4> old_values = init_values;
    // SmallVector<Values, 4> new_values;
    // for (int i = 0; i < num_iterations; ++i) {
    //   body_fn(old_values, &new_values, ...);
    //   old_values = new_values;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let arguments = (ins
        Arg<Variadic<TF_Tensor>, [{the input tensor(s)}]>:$inputs,
        Arg<Variadic<TF_Tensor>, [{scalar initial value(s) for the reduction}]>:$init_values,
    
        I64ArrayAttr:$dimensions_to_reduce,
        SymbolRefAttr:$reducer
      );
    
      let results = (outs
        Variadic<TF_Tensor>:$outputs
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top