text: """Myia operations."""
  
  
  from builtins import bool, getattr, hasattr, len, setattr  # noqa
  from operator import (  # noqa
      add,
      and_,
      eq,
      floordiv,
      ge,
      getitem,
      gt,
      is_,
      is_not,
      le,
      lt,
      matmul,
      mod,
      mul,
      ne,
      neg,
      not_,
      or_,
      pos,
      pow,
      setitem,
      sub,
      truediv,
  )
  
  from numpy import cos, exp, log, sin, tan  # noqa
  
  
  class MyiaOnlyOperation:
      """Represents a Myia-only operation."""
  
      def __init__(self, name):
          """Initialize a MyiaOnlyOperation."""
          self.name = name
  
      def __call__(self):  # pragma: no cover
          """Call a MyiaOnlyOperation."""
          raise RuntimeError(
              f'Myia-only operation {self.name} cannot be called directly.'
          )
  
      def __str__(self):
          return f'myia.operations.{self.name}'
  
      __repr__ = __str__
  
  
  J = MyiaOnlyOperation('J')
  Jinv = MyiaOnlyOperation('Jinv')
  apply = MyiaOnlyOperation('apply')
  embed = MyiaOnlyOperation('embed')
  hasnext = MyiaOnlyOperation('hasnext')
  hastype = MyiaOnlyOperation('hastype')
  iter = MyiaOnlyOperation('iter')
  make_tuple = MyiaOnlyOperation('make_tuple')
  make_list = MyiaOnlyOperation('make_list')
  make_dict = MyiaOnlyOperation('make_dict')
  next = MyiaOnlyOperation('next')
  resolve = MyiaOnlyOperation('resolve')
  slice = MyiaOnlyOperation('slice')
  switch = MyiaOnlyOperation('switch')
  to_array = MyiaOnlyOperation('to_array')
  typeof = MyiaOnlyOperation('typeof')
  user_switch = MyiaOnlyOperation('user_switch')
  