Function beginScope

  • Start a scope. Use this with endScope() to clean up all tensors allocated in a section of code.

    Returns void