Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetSizeVarType (0.47 sec)

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

    struct StackOpsDecompositionPass
        : public impl::StackOpsDecompositionPassBase<StackOpsDecompositionPass> {
      void runOnOperation() final;
    };
    
    // Returns the type of the local variable for the stack size.
    Type GetSizeVarType(OpBuilder builder) {
      auto size_type = cutil::GetSizeType(builder);
      return RankedTensorType::get(
          {}, TF::ResourceType::get(ArrayRef<TensorType>{size_type},
                                    builder.getContext()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top