convert_pop

paddle.fluid.dygraph.dygraph_to_static.convert_operators. convert_pop ( target, *args ) [source]

A function representation of a Python pop statement for a list or dict.

Parameters
  • target (list|dict|Tensor) – A variable to pop item from.

  • *args (tuple) – index or default value to parse.

Returns

A item poped from target.