Keras-多输入多输出实例(多任务)

时间:2024-01-07 03:29:38
【文件属性】:

文件名称:Keras-多输入多输出实例(多任务)

文件大小:95KB

文件格式:PDF

更新时间:2024-01-07 03:29:38

AS ras 多任务

1、模型结果设计 2、代码 from keras import Input, Model from keras.layers import Dense, Concatenate import numpy as np from keras.utils import plot_model from numpy import random as rd samples_n = 3000 samples_dim_01 = 2 samples_dim_02 = 2 # 样本数据 x1 = rd.rand(samples_n, samples_dim_01) x2 = rd.rand(samples_n


网友评论