我正在试着找出我的代码有什么问题。我有这样的代码:
public struct MyStructA
{
public MyStructA(string str)
{
myString= str;
}
public string myString;
}
public struct MyStructB: MyStructA
{
public string myReversString;
}
我得到了这个错误:
Error at compile time: Type 'MyStructA' in interface list
我正在尝试使用以下架构在Google Colab中训练灰度图像上的类UNET模型:
from keras.models import Model
from keras.layers import Input, UpSampling2D
from keras.layers import Dropout
from keras.layers import Conv2D, Conv2DTranspose
from keras.layers import AveragePooling2D
from keras.layers import concatenate
inputs = Input((2048