参考:
结果应该还不对:
"""
This file contains a general conv operation for TensorFlow.
Zhibo Zhang, 2020.06.06
"""
import torch.nn as nn
import numpy as np
import tensorflow as tf
# # Translate dimension numbers from number representations into string
# # representations
# #
# # For example, in a 1D case, "NWC" means "# batches", "spatial dimensions" and
# # "# Channels (features)", so the acco