parameters: (mesh, attr)
return_statement: return PyMesh.convert_to_face_attribute(mesh.raw_mesh, attr)
docstring: Convert attribute ``attr`` from either per-vertex or per-voxel attribute
      into per-face attribute.
  
      Args:
          mesh (:py:class:`Mesh`): Input mesh.
          attr (``numpy.ndarray``): #faces by k matrix of floats.
  
      Returns:
          Per-face attribute. The value at a face will be the average of
          the values at its neighboring vertices or its neighboring voxels.
docstring_summary: Convert attribute ``attr`` from either per-vertex or per-voxel attribute
      into per-face attribute.
docstring_tokens: Convert attribute attr from either per - vertex or per - voxel attribute into per - face attribute .
function: def convert_to_face_attribute(mesh, attr):
      """ Convert attribute ``attr`` from either per-vertex or per-voxel attribute
      into per-face attribute.
  
      Args:
          mesh (:py:class:`Mesh`): Input mesh.
          attr (``numpy.ndarray``): #faces by k matrix of floats.
  
      Returns:
          Per-face attribute. The value at a face will be the average of
          the values at its neighboring vertices or its neighboring voxels.
      """
      return PyMesh.convert_to_face_attribute(mesh.raw_mesh, attr)
function_tokens: def convert_to_face_attribute ( mesh , attr ) : return PyMesh . convert_to_face_attribute ( mesh . raw_mesh , attr )