(self, var_or_local_name: Union[TfExpression, str])
return self.find_var(var_or_local_name).eval()
Get the value of a given variable as NumPy array.
        Note: This method is very inefficient -- prefer to use tflib.run(list_of_vars) whenever possible.
Get the value of a given variable as NumPy array.
        Note: This method is very inefficient -- prefer to use tflib.run(list_of_vars) whenever possible.
Get the value of a given variable as NumPy array . Note : This method is very inefficient -- prefer to use tflib . run ( list_of_vars ) whenever possible .
def get_var(self, var_or_local_name: Union[TfExpression, str]) -> np.ndarray:
        """Get the value of a given variable as NumPy array.
        Note: This method is very inefficient -- prefer to use tflib.run(list_of_vars) whenever possible."""
        return self.find_var(var_or_local_name).eval()
def get_var ( self , var_or_local_name : Union [ TfExpression , str ] ) -> np . ndarray : return self . find_var ( var_or_local_name ) . eval ( )