o
    ?e                     @   s   d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z
 ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZm Z  ddej!ej" dej!ej" dej!ej" fddZ#ede$e#Z%dej!ej" dej!ej" dej!ej" fddZ&dS )zUPython wrappers around TensorFlow ops.

This file is MACHINE GENERATED! Do not edit.
    N)
pywrap_tfe)context)core)execute)dtypes)annotation_types)op_def_registry)ops)op_def_library)deprecated_endpoints)dispatch)	tf_export)TypeVarListschemekeyvaluec              
   C   s   t j pt  }|j}|jrRzt|d|| ||}|W S  tjy3 } zt	|| W Y d}~nd}~w tj
y<   Y nw z
t| ||||dW S  tjyQ   Y nw tjd| |||d\}}}	}
|	S )a_  Set configuration of the file system.

  Args:
    scheme: A `Tensor` of type `string`. File system scheme.
    key: A `Tensor` of type `string`. The name of the configuration option.
    value: A `Tensor` of type `string`. The value of the configuration option.
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  FileSystemSetConfigurationN)namectx)r   r   r   r   )_contextr   Z_thread_local_dataZis_eagerr   ZTFE_Py_FastPathExecute_coreZ_NotOkStatusException_opsZraise_from_not_ok_statusZ_FallbackException,file_system_set_configuration_eager_fallbackZ_SymbolicException_op_def_libraryZ_apply_op_helper)r   r   r   r   Z_ctxtld_resulte_Z_opZ_outputs r   i/home/www/facesmatcher.com/pyenv/lib/python3.10/site-packages/tensorflow/python/ops/gen_filesystem_ops.pyfile_system_set_configuration   s4   
r!   z"raw_ops.FileSystemSetConfigurationc                 C   sV   t | tj} t |tj}t |tj}| ||g}d }tjdd||||d}d }|S )Ns   FileSystemSetConfigurationr   )Zinputsattrsr   r   )r   Zconvert_to_tensor_dtypesstring_executer   )r   r   r   r   r   Z_inputs_flatZ_attrsr   r   r   r    r   <   s   
r   )N)'__doc__collectionsZtensorflow.pythonr   Ztensorflow.python.eagerr   r   r   r   r   r%   Ztensorflow.python.frameworkr   r#   Ztensorflow.security.fuzzing.pyr   Z_atypesr   Z_op_def_registryr	   r   r
   r   Z"tensorflow.python.util.deprecationr   Ztensorflow.python.utilr   	_dispatchZ tensorflow.python.util.tf_exportr   typingr   r   ZTensorFuzzingAnnotationStringr!   Z	to_raw_opr   r   r   r   r   r    <module>   s$    0!2