Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetGraphOpFromFuncOp (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc

    }
    
    // Gets the GraphOp from the function op. Returns an empty op iff it doesn't
    // exist.
    // TODO(b/284222084): Move executor dialect utilities to a new library.
    GraphOp GetGraphOpFromFuncOp(func::FuncOp func_op) {
      if (func_op->getNumRegions() == 0 || func_op.getBody().empty()) return {};
    
      auto graph_op_range = func_op.front().without_terminator();
      if (llvm::hasSingleElement(graph_op_range)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top