Home | History | Annotate | Download | only in base_api
      1 op {
      2   graph_op_name: "ResourceCountUpTo"
      3   in_arg {
      4     name: "resource"
      5     description: <<END
      6 Should be from a scalar `Variable` node.
      7 END
      8   }
      9   out_arg {
     10     name: "output"
     11     description: <<END
     12 A copy of the input before increment. If nothing else modifies the
     13 input, the values produced will all be distinct.
     14 END
     15   }
     16   attr {
     17     name: "limit"
     18     description: <<END
     19 If incrementing ref would bring it above limit, instead generates an
     20 'OutOfRange' error.
     21 END
     22   }
     23   summary: "Increments variable pointed to by \'resource\' until it reaches \'limit\'."
     24 }
     25