Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ConstFoldUnaryOp (0.3 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    /// possible.
    /// The function currently asserts that the `result_type` to be a f32 tensor
    /// type.
    /// TODO: Extend this function to handle integral tensor for ops like
    /// "tfl.logical_not".
    Attribute ConstFoldUnaryOp(Type result_type, Attribute operand,
                               llvm::function_ref<APFloat(APFloat)> calculate) {
      assert(IsF32ShapedType(result_type) || IsBF16ShapedType(result_type));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top