Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HandleCast (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

    }
    
    void HandleFuncOp(Operation* op) {
      auto func = llvm::cast<func::FuncOp>(op);
      UpdateFuncType(func);
    }
    
    // Handles cast op between the first convolution and the block argument.
    LogicalResult HandleCast(TF::CastOp cast_op, ArrayRef<int64_t> new_shape) {
      auto cast_input = cast_op.getX();
      // Update input type.
      auto transform_result_type =
          RankedTensorType::get(new_shape, getElementTypeOrSelf(cast_input));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top