Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for gather (0.23 sec)

  1. tensorflow/cc/gradients/array_grad.cc

                        std::vector<Output>* grad_outputs) {
      if (op.num_inputs() != 3) {
        return errors::InvalidArgument("Gather requires 3 inputs");
      }
      if (grad_inputs.size() != 1) {
        return errors::InvalidArgument("Gather grad requires 1 grad input");
      }
    
      // params can be large, so colocate the shape calculation with it.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library.mlir

          attributes {tf_quant.quantized_ops = ["Gather"]} {
    
        %out = "tf.GatherV2"(%weight, %input, %axis) {
          batch_dims = 0 : i64, attr_map = "batch_dims:0"} : (tensor<*xi8>, tensor<*xi32>, tensor<i32>) -> tensor<*xi8>
    
        // Requantize as the output quantization params can be different than the input for Gather ops.
        // Ex: Input can be per-axis quantized while output can be per-tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        weight_quantization_ = quant_specs.weight_quantization;
        target_opset_ = target_opset;
      }
    
      QuantizePass(const QuantizePass& other) : quant_specs_(other.quant_specs_) {
        weight_quantization_ = other.weight_quantization_;
        target_opset_ = other.target_opset_;
      }
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:            %[[VAL_0:.*]] = "tf.GatherNd"(%[[ARG_0]], %[[ARG_1]]) <{bad_indices_policy = ""}> : {{.*}} -> tensor<192x256xf16>
    // CHECK:            return %[[VAL_0]]
    // CHECK:         }
    func.func @convert_gather(%arg0: tensor<147456xf16>, %arg1: tensor<192x256x1xi32>) -> tensor<192x256xf16> {
      %0 = "mhlo.gather"(%arg0, %arg1) {
        dimension_numbers = #mhlo.gather<
          collapsed_slice_dims = [0],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/linalg_grad.cc

      reduced_dims_inputs.reserve(reduced_axes.size());
      for (const int i : reduced_axes) {
        if (i < 0) {
          reduced_dims_inputs.push_back(
              Gather(scope, input_shape, Add(scope, Size(scope, input_shape), i)));
        } else {
          reduced_dims_inputs.push_back(Gather(scope, input_shape, i));
        }
      }
      const Output reduced_dims = Stack(scope, reduced_dims_inputs);
      Tensor reduced_axes_tensor(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

           field_name == "known_expanding_dimensions" ||
           field_name == "known_nonexpanding_dimensions"))
        return true;
      if ((op_name == "stablehlo.dynamic_slice" || op_name == "stablehlo.gather") &&
          field_name == "slice_sizes")
        return true;
      if (op_name == "stablehlo.fft" && field_name == "fft_length") return true;
      if ((op_name == "stablehlo.map" || op_name == "stablehlo.reduce" ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeLessEqual : Pat<(TF_LessEqualOp $l, $r), (TFL_LessEqualOp $l, $r)>;
    def LegalizeGreaterEqual : Pat<(TF_GreaterEqualOp $l, $r),
                                   (TFL_GreaterEqualOp $l, $r)>;
    
    // Gather in TF -> Gather in TFL with axis=0
    // The 'validate_indices' attribute is deprecated.
    def LegalizeGather: Pat<
      (TF_GatherOp $params, $indices, $ignored_validate_indices),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_xla.mlir

    // CHECK: Number of quantized layers in the model
    // CHECK: --------------------------------
    // CHECK: Name    Count/Total
    // CHECK: ================================
    // CHECK: Gather  1/1
    // CHECK: Conv2D  1/2
    
    // CHECK: Number of quantized layers with quantized outputs: 0/2
    // CHECK: Number of quantize layers added: 1
    // CHECK: Number of dequantize layers added: 0
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. src/regexp/syntax/prog.go

    	i := p.skipNop(uint32(p.Start))
    
    	// Avoid allocation of buffer if prefix is empty.
    	if i.op() != InstRune || len(i.Rune) != 1 {
    		return "", i.Op == InstMatch
    	}
    
    	// Have prefix; gather characters.
    	var buf strings.Builder
    	for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {
    		buf.WriteRune(i.Rune[0])
    		i = p.skipNop(i.Out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/scan.go

    // representation. A nil error is converted to an empty string, and all other
    // errors are converted to a JSON-marshaled parseError struct, with ErrorList
    // set for errors of type scanner.ErrorList, and ErrorString set to the error's
    // string representation for all other errors.
    func parseErrorToString(err error) string {
    	if err == nil {
    		return ""
    	}
    	var p parseError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top