parameters: ()
return_statement: return flags
docstring: Get the link flags for custom operators.
  
    Returns:
      The link flags.
docstring_summary: Get the link flags for custom operators.
docstring_tokens: Get the link flags for custom operators .
function: def get_link_flags():
    """Get the link flags for custom operators.
  
    Returns:
      The link flags.
    """
    is_mac = _platform.system() == 'Darwin'
    ver = _VERSION.split('.')[0]
    flags = []
    if not _MONOLITHIC_BUILD:
      flags.append('-L%s' % get_lib())
      if is_mac:
        flags.append('-ltensorflow_framework.%s' % ver)
      else:
        flags.append('-l:libtensorflow_framework.so.%s' % ver)
    return flags
function_tokens: def get_link_flags ( ) : is_mac = _platform . system ( ) == 'Darwin' ver = _VERSION . split ( '.' ) [ 0 ] flags = [ ] if not _MONOLITHIC_BUILD : flags . append ( '-L%s' % get_lib ( ) ) if is_mac : flags . append ( '-ltensorflow_framework.%s' % ver ) else : flags . append ( '-l:libtensorflow_framework.so.%s' % ver ) return flags