- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DialectFoldInterface (0.35 sec)
-
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) -
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) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
IRMapping& valueMapping) const final { return isa<WhileOp>(dest->getParentOp()); } }; struct TensorFlowLiteDialectFoldInterface : 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 May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// Only attempt TF dialect fallback if there are no unknown operands. if (some_unknown && dialect == tf_dialect_) return failure(); auto* interface = dialect->getRegisteredInterface<DialectFoldInterface>(); if (!interface) return failure(); if (failed(interface->fold(op, constant_operands, fold_results))) return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)