Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ComplexType (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        auto rhs_type = mlir::dyn_cast<RankedTensorType>(rhs.getType());
        if (!lhs_type || !rhs_type) return failure();
        if (mlir::isa<ComplexType>(lhs_type.getElementType()) && op.getAdjX()) {
          lhs = rewriter.create<TF::ConjOp>(op.getLoc(), lhs_type, lhs);
        }
        if (mlir::isa<ComplexType>(rhs_type.getElementType()) && op.getAdjY()) {
          rhs = rewriter.create<TF::ConjOp>(op.getLoc(), rhs_type, rhs);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        return tflite::TensorType_STRING;
      } else if (mlir::isa<mlir::TF::Quint8Type>(type)) {
        return tflite::TensorType_UINT8;
      } else if (auto complex_type = mlir::dyn_cast<mlir::ComplexType>(type)) {
        auto ftype = complex_type.getElementType();
        if (ftype.isF32()) {
          return tflite::TensorType_COMPLEX64;
        }
        if (ftype.isF64()) {
          return tflite::TensorType_COMPLEX128;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top