class_docstr: Implements the Numpy backend ops for a PC auto-batching VM.
class_docstr_tok: ["Implements","the","Numpy","backend","ops","for","a","PC","auto-batching","VM","."]
docstr: Implements while loops for Numpy backend.
docstr_tok: ["Implements","while","loops","for","Numpy","backend","."]
code: def while_loop(self, cond, body, loop_vars, name=None):
      """Implements while loops for Numpy backend."""
      del name
      while cond(*loop_vars):
          loop_vars = body(*loop_vars)
      return loop_vars
  
imports: import collections
  import numpy
  from tensorflow_probability.python.experimental.auto_batching import instructions
label_desc: Use image node_id 17 for calling the NumpyBackend obj's underlying member method code with example usage: obj.while_loop(cond, body, loop_vars, name) and returns: loop_vars