Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NoValueOp (0.1 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc

            auto c = b.create<arith::ConstantOp>(q.getLoc(), q.getValue());
            q.getOutput().replaceAllUsesWith(c);
            q.erase();
          } else if (TFL::NoValueOp::isBuildableWith(value, type)) {
            auto c = b.create<TFL::NoValueOp>(q.getLoc(), type, mlir::UnitAttr());
            q.getOutput().replaceAllUsesWith(c);
            q.erase();
          }
        }
      });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 02:50:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/utils.td

    include "mlir/IR/OpBase.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/IR/PatternBase.td"
    
    def CreateNoneValue : NativeCodeCall<
      "$_builder.create<TFL::NoValueOp>($0.getLoc(), $_builder.getUnitAttr())">;
    
    // Returns shape of a ranked tensor.
    // if called without a ranked tensor it will fail.
    def GetShape: NativeCodeCall<"GetShape($0)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        Value output_rhs =
            !bmm_op.getAdjY() ? create_z_x_transpose_op(input_rhs) : input_rhs;
    
        Type output_type = bmm_op.getResult().getType();
        auto no_input = rewriter.create<TFL::NoValueOp>(
            bmm_op->getLoc(), rewriter.getNoneType(), rewriter.getUnitAttr());
        auto fc_op = rewriter.create<TFL::FullyConnectedOp>(
            bmm_op->getLoc(), ArrayRef<Type>{output_type},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top