Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

neilisaac / torch   python

Repository URL to install this package:

Version: 1.8.0 

/ include / ATen / native / Fill.h

// Functions that fill Tensors with constants. Implementations are in Fill.cpp.

#pragma once

#include <ATen/ATen.h>
#include <ATen/native/DispatchStub.h>
#include <ATen/native/TensorIterator.h>

namespace at { namespace native {

DECLARE_DISPATCH(void(*)(TensorIterator&, Scalar), fill_stub);

}} // namespace at::native