rfho/utils.py
def tensor_conversion(value, dtype=None, name=None, as_ref=False):
        """
        tensorflow tensor conversion function. Simply gives to tensorflow the underlying tensor

        :param value:
        :param dtype:
        :param name:
        :param as_ref:
        :return:
        """
        # if as_ref:
        #     raise NotImplemented()
        return tf.convert_to_tensor(value.tensor, dtype=dtype, name=name)

        tensorflow tensor conversion function. Simply gives to tensorflow the underlying tensor

        :param value:
        :param dtype:
        :param name:
        :param as_ref:
        :return:
        
tensorflow tensor conversion function. Simply gives to tensorflow the underlying tensor
tensorflow tensor conversion function . Simply gives to tensorflow the underlying tensor
def tensor_conversion(value, dtype=None, name=None, as_ref=False):
        return tf.convert_to_tensor(value.tensor, dtype=dtype, name=name)
def tensor_conversion ( value , dtype = None , name = None , as_ref = False ) : return tf . convert_to_tensor ( value . tensor , dtype = dtype , name = name )
tensorflow tensor conversion function.
tensorflow tensor conversion function .
"""
        tensorflow tensor conversion function. Simply gives to tensorflow the underlying tensor

        :param value:
        :param dtype:
        :param name:
        :param as_ref:
        :return:
        """ # if as_ref: #     raise NotImplemented()
None
value
None
dtype
None
name
None
as_ref
None