Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for llvm_unreachable (0.23 sec)

  1. tensorflow/compiler/mlir/lite/utils/convert_type.cc

          return tflite::TensorType_COMPLEX128;
        }
        llvm_unreachable("invalid complex Type in conversion");
      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) {
        switch (itype.getWidth()) {
          case 1:
            return tflite::TensorType_BOOL;
          case 4:
            if (itype.isUnsigned())
              llvm_unreachable("invalid unsigned 4bit integer Type in conversion");
            else
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

    void TensorflowMlrtDialect::printType(mlir::Type type,
                                          mlir::DialectAsmPrinter &os) const {
      if (mlir::isa<TFTensorType>(type)) {
        os << "tensor";
        return;
      }
    
      llvm_unreachable("unexpected tf_mlrt type kind");
    }
    
    }  // namespace tf_mlrt
    }  // namespace tensorflow
    
    //===----------------------------------------------------------------------===//
    // TableGen'd op method definitions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc

      if (mlir::isa<TFTensorType>(type)) {
        os << "tf_tensor";
        return;
      }
    
      if (mlir::isa<TFAllocatorType>(type)) {
        os << "tf_allocator";
        return;
      }
    
      llvm_unreachable("unexpected fallback type kind");
    }
    
    }  // namespace fallback
    }  // namespace tfrt
    
    //===----------------------------------------------------------------------===//
    // TableGen'd op method definitions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

        return;
      }
    
      if (mlir::isa<PromiseType>(type)) {
        os << "promise";
        return;
      }
    
      if (mlir::isa<AsyncHandleType>(type)) {
        os << "async_handle";
        return;
      }
    
      llvm_unreachable("unexpected mlrt type kind");
    }
    
    }  // namespace compiler
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

        } else if (complex_element_ty.isF64()) {
          return DenseElementsAttr::get(
              scalar_ty, static_cast<std::complex<double>>(raw_value));
        }
      }
      llvm_unreachable("unsupported type");
    }
    
    // Returns true if `value` is compile-time constant and its splat value equals
    // to `raw_value`.
    template <typename T>
    bool IsConstantValueOf(Value value, T raw_value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

          new_output_type = QuantizedType::getQuantizedElementType(
                                dequantize_op.getInput().getType())
                                .castFromExpressedType(output_type);
        } else {
          llvm_unreachable("unhandled element type");
        }
    
        passthrough_op->getResult(0).setType(new_output_type);
        passthrough_op->setOperand(operand_index, dequantize_op.getInput());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top