Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for fft_length (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          CompileTimeConstantOperand<TF::GatherV2Op, 2>,     // $axis
          CompileTimeConstantOperand<TF::IRFFT2DOp, 1>,      // $fft_length
          CompileTimeConstantOperand<TF::IRFFT3DOp, 1>,      // $fft_length
          CompileTimeConstantOperand<TF::IRFFTOp, 1>,        // $fft_length
          CompileTimeConstantOperand<TF::InTopKV2Op, 2>,     // $k
          CompileTimeConstantOperand<TF::LinSpaceOp, 2>,     // $num
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        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" ||
           op_name == "stablehlo.reverse") &&
          field_name == "dimensions")
        return true;
      if (op_name == "stablehlo.pad" &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

        (convertIntAttrTo32Bit $new_axis_mask),
        (convertIntAttrTo32Bit $shrink_axis_mask),
        (GetBoolAttr<false>))>;
    
    def LegalizeRfft2d : Pat<
      (TF_RFFT2DOp $input, $fft_length),
      (TFL_RFFT2dOp $input, $fft_length)>;
    
    def LegalizeComplexAbs : Pat<(TF_ComplexAbsOp $arg), (TFL_ComplexAbsOp $arg)>;
    
    def LegalizeReal : Pat<(TF_RealOp $arg), (TFL_RealOp $arg)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    signal over the inner-most dimension of `input`.
    
    The inner-most dimension of `input` is assumed to be the result of `RFFT`: the
    `fft_length / 2 + 1` unique components of the DFT of a real-valued signal. If
    `fft_length` is not provided, it is computed from the size of the inner-most
    dimension of `input` (`fft_length = 2 * (inner - 1)`). If the FFT length used to
    compute `input` is odd, it should be provided since it cannot be inferred
    properly.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    Since the DFT of a real signal is Hermitian-symmetric, `RFFT2D` only returns the
    `fft_length / 2 + 1` unique components of the FFT for the inner-most dimension
    of `output`: the zero-frequency term, followed by the `fft_length / 2`
    positive-frequency terms.
    
    Along each axis `RFFT2D` is computed on, if `fft_length` is smaller than the
    corresponding dimension of `input`, the dimension is cropped. If it is larger,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: "mhlo.fft"(%arg0) <{fft_length = dense<8> : tensor<1xi64>, fft_type = #mhlo<fft_type RFFT>}> : (tensor<8xf32>
      %0 = "tf.RFFT"(%arg0, %fftlength) : (tensor<8xf32>, tensor<1xi32>) -> tensor<5xcomplex<f32>>
      func.return %0 : tensor<5xcomplex<f32>>
    }
    
    // -----
    
    // CHECK-LABEL: func @rfft_1D_padded
    func.func @rfft_1D_padded(%arg0: tensor<7xf32>) -> tensor<5xcomplex<f32>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          return failure();
        }
        int64_t fft_length;
        if (fft_length_attr.getNumElements() != 0) {
          fft_length = fft_length_attr.getValues<IntegerAttr>()[0].getInt();
        } else {
          return failure();
        }
    
        int64_t expected_dim = fft_length;
        std::string fft_string = "RFFT";
        if (typeid(OpTy) == typeid(TF::IRFFTOp)) {
          expected_dim = fft_length / 2 + 1;
          fft_string = "IRFFT";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      let hasCanonicalizer = 1;
    }
    
    def TFR_GetLengthOp : TFR_Op<"get_length", [Pure]> {
      let description = [{
        The `get_length` operation returns the number of tensors for a
        tfr.tensor_list.
    
        Example:
    
        ```mlir
        %2 = tfr.get_length(%1) : tfr.tensor -> index
        %2 = tfr.get_length %1 -> index
        ```
      }];
    
      let arguments = (ins TFR_TensorListType:$tensor_list);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir

    // CHECK-NEXT: return %[[c]] : !tfr.attr
    }
    
    // -----
    
    // CHECK-LABEL: get_length
    func.func @get_length(%arg0: !tfr.tensor<A>, %arg1: !tfr.tensor<B>) -> index {
      %0 = "tfr.build_list"(%arg0, %arg1) : (!tfr.tensor<A>, !tfr.tensor<B>) -> !tfr.tensor_list
      %1 = "tfr.get_length"(%0) : (!tfr.tensor_list) -> index
      func.return %1 : index
    
    // CHECK-NEXT: %[[c:.*]] = arith.constant 2 : index
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/tests/ops.mlir

      func.return %4 : !tfr.attr
    }
    
    // -----
    
    // CHECK-LABEL: get_length
    func.func @get_length(%arg0: !tfr.tensor<A>, %arg1: !tfr.tensor<B>) -> index {
      %0 = "tfr.build_list"(%arg0, %arg1) : (!tfr.tensor<A>, !tfr.tensor<B>) -> !tfr.tensor_list
      %1 = "tfr.get_length"(%0) : (!tfr.tensor_list) -> index
      func.return %1 : index
    }
    
    // -----
    
    // CHECK-LABEL: tfr.func
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top