Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BlockWrapsSingleOp (0.28 sec)

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

      }
    };
    
    // Checks if a block wraps a single operation and the single operation results
    // are perfectly forwarded to the block's terminator.
    bool BlockWrapsSingleOp(Block* block) {
      auto body = block->without_terminator();
      if (!hasSingleElement(body)) return false;
    
      Operation& wrapped_op = *body.begin();
      Operation* terminator = block->getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top