Searched refs:copy_function (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | copy_tensor.h | 56 CopyFunction copy_function) { in Registration() argument 58 Register(sender_device_type, receiver_device_type, copy_function)); in Registration() 68 CopyFunction copy_function);
|
D | copy_tensor.cc | 36 copy_function(cf) {} in RegistrationInfo() 39 CopyTensor::CopyFunction copy_function; member 180 void CopyDeviceToDevice(CopyTensor::CopyFunction copy_function, in CopyDeviceToDevice() argument 198 [copy_function, src, dst, src_alloc_attr, dst_alloc_attr, in CopyDeviceToDevice() 214 copy_function(send_dev_context, recv_dev_context, src, dst, in CopyDeviceToDevice() 240 copy_function(send_dev_context, recv_dev_context, src, dst, src_alloc_attr, in CopyDeviceToDevice() 281 CopyDeviceToDevice(ri.copy_function, cpu_allocator, out_allocator, in ViaDMA() 350 CopyFunction copy_function) { in Register() argument 353 copy_function); in Register()
|
/external/python/cpython3/Lib/ |
D | shutil.py | 279 def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, argument 344 copy_function) 346 copy_function(srcname, dstname) 348 copytree(srcname, dstname, symlinks, ignore, copy_function) 351 copy_function(srcname, dstname) 525 def move(src, dst, copy_function=copy2): argument 573 copytree(src, real_dst, copy_function=copy_function, 577 copy_function(src, real_dst)
|
/external/python/cpython3/Doc/library/ |
D | shutil.rst | 196 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:`~shutil.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/ |
D | test_shutil.py | 877 shutil.copytree(src_dir, dst_dir, copy_function=_copy) 1700 shutil.move(self.src_file, self.dst_dir, copy_function=_copy) 1710 shutil.move(self.src_dir, self.dst_dir, copy_function=_copy)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1641 The :func:`~shutil.move` function now accepts a *copy_function* argument,
|
D | 3.2.rst | 1544 * *copy_function*: is a callable that will be used to copy files.
|