For some reason, torch.argmax is slower for me than transferring an array to CPU and then calling np.argmax. Any ideas why? Should I file a bug report?

  
      gist.github.com
  
  
    https://gist.github.com/tbenst/de3f61ac9956778a2ca6d5db94b526ef 12
argmax_bench.ipynb
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
This file has been truncated. show original