Vous êtes un professionnel et vous avez besoin d'une formation ?
		Deep Learning avec Python
et Keras et Tensorflow
		Voir le programme détaillé	
	
	
    
            Classe « ndarray »
            
            
Signature de la méthode  setfield 
Description
help(ndarray.setfield)
a.setfield(val, dtype, offset=0)
    Put a value into a specified place in a field defined by a data-type.
    Place `val` into `a`'s field defined by `dtype` and beginning `offset`
    bytes into the field.
    Parameters
    ----------
    val : object
        Value to be placed in field.
    dtype : dtype object
        Data-type of the field in which to place `val`.
    offset : int, optional
        The number of bytes into the field at which to place `val`.
    Returns
    -------
    None
    See Also
    --------
    getfield
    Examples
    --------
    >>> import numpy as np
    >>> x = np.eye(3)
    >>> x.getfield(np.float64)
    array([[1.,  0.,  0.],
           [0.,  1.,  0.],
           [0.,  0.,  1.]])
    >>> x.setfield(3, np.int32)
    >>> x.getfield(np.int32)
    array([[3, 3, 3],
           [3, 3, 3],
           [3, 3, 3]], dtype=int32)
    >>> x
    array([[1.0e+000, 1.5e-323, 1.5e-323],
           [1.5e-323, 1.0e+000, 1.5e-323],
           [1.5e-323, 1.5e-323, 1.0e+000]])
    >>> x.setfield(np.eye(3), np.int32)
    >>> x
    array([[1.,  0.,  0.],
           [0.,  1.,  0.],
           [0.,  0.,  1.]])
                      
            
	
	
	
	
		Vous êtes un professionnel et vous avez besoin d'une formation ?
		Programmation Python
Les fondamentaux
		Voir le programme détaillé	
	
	
             
            
            
            
         
        
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :