Home
last modified time | relevance | path

Searched refs:copy_function (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dcopy_tensor.cc36 copy_function(cf) {} in RegistrationInfo()
39 CopyTensor::CopyFunction copy_function; member
166 void CopyDeviceToDevice(CopyTensor::CopyFunction copy_function, in CopyDeviceToDevice() argument
184 [copy_function, src, dst, src_alloc_attr, dst_alloc_attr, in CopyDeviceToDevice()
200 copy_function(send_dev_context, recv_dev_context, src, dst, in CopyDeviceToDevice()
226 copy_function(send_dev_context, recv_dev_context, src, dst, src_alloc_attr, in CopyDeviceToDevice()
266 CopyDeviceToDevice(ri.copy_function, cpu_allocator, out_allocator, in ViaDMA()
335 CopyFunction copy_function) { in Register() argument
338 copy_function); in Register()
Dcopy_tensor.h57 CopyFunction copy_function) { in Registration() argument
59 Register(sender_device_type, receiver_device_type, copy_function)); in Registration()
69 CopyFunction copy_function);
/external/python/cpython3/Lib/
Dshutil.py273 def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, argument
338 copy_function)
340 copy_function(srcname, dstname)
342 copytree(srcname, dstname, symlinks, ignore, copy_function)
345 copy_function(srcname, dstname)
506 def move(src, dst, copy_function=copy2): argument
554 copytree(src, real_dst, copy_function=copy_function,
558 copy_function(src, real_dst)
/external/python/cpython3/Doc/library/
Dshutil.rst196 copy_function=copy2, ignore_dangling_symlinks=False)
229 If *copy_function* is given, it must be a callable that will be used to copy
239 Added the *copy_function* argument to be able to provide a custom copy
287 .. function:: move(src, dst, copy_function=copy2)
297 used. Otherwise, *src* is copied to *dst* using *copy_function* and then
301 If *copy_function* is given, it must be a callable that takes two arguments
304 :func:`copytree` is called, passing it the :func:`copy_function`. The
305 default *copy_function* is :func:`copy2`. Using :func:`copy` as the
306 *copy_function* allows the move to succeed when it is not possible to also
315 Added the *copy_function* keyword argument.
/external/python/cpython3/Lib/test/
Dtest_shutil.py873 shutil.copytree(src_dir, dst_dir, copy_function=_copy)
1689 shutil.move(self.src_file, self.dst_dir, copy_function=_copy)
1699 shutil.move(self.src_dir, self.dst_dir, copy_function=_copy)
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1641 The :func:`~shutil.move` function now accepts a *copy_function* argument,
D3.2.rst1541 * *copy_function*: is a callable that will be used to copy files.