Typedef torch::nn::functional::PairwiseDistanceFuncOptions¶
Defined in File distance.h
Typedef Documentation¶
-
using torch::nn::functional::PairwiseDistanceFuncOptions = PairwiseDistanceOptions¶
Options for
torch::nn::functional::pairwise_distance
.See the documentation for
torch::nn::PairwiseDistanceOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::pairwise_distance(input1, input2, F::PairwiseDistanceFuncOptions().p(1));