Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DialectFoldInterface (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

    // TF Dialect Interfaces
    //===----------------------------------------------------------------------===//
    
    namespace {
    
    struct TFConstantFoldInterface : public DialectFoldInterface {
      TFConstantFoldInterface(Dialect *dialect) : DialectFoldInterface(dialect) {}
      LogicalResult fold(Operation *op, ArrayRef<Attribute> operands,
                         SmallVectorImpl<OpFoldResult> &results) const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        // block.
        return llvm::isa<tf_executor::IslandOp>(dest->getParentOp()) &&
               llvm::hasSingleElement(*src);
      }
    };
    
    struct TensorFlowExecutorDialectFoldInterface : public DialectFoldInterface {
      using DialectFoldInterface::DialectFoldInterface;
    
      // Registered hook to check if the given region, which is attached to an
      // operation that is *not* isolated from above (i.e. no internal regions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top