提交 930d2e89 编写于 作者: Y yangyaming

remove test_mul_value_layer.protostr and test_mul_value_layer.py

上级 04a35150
type: "nn"
layers {
name: "data"
type: "data"
size: 2016
active_type: ""
height: 48
width: 42
}
layers {
name: "indices"
type: "data"
size: 6
active_type: ""
}
layers {
name: "__mul_value_0__"
type: "mul_value"
active_type: ""
inputs {
input_layer_name: "data"
mul_value_conf {
image_conf {
channels: 1
img_size: 42
img_size_y: 48
}
value: 0.0
}
}
inputs {
input_layer_name: "indices"
}
}
input_layer_names: "data"
input_layer_names: "indices"
output_layer_names: "__mul_value_0__"
sub_models {
name: "root"
layer_names: "data"
layer_names: "indices"
layer_names: "__mul_value_0__"
input_layer_names: "data"
input_layer_names: "indices"
output_layer_names: "__mul_value_0__"
is_recurrent_layer_group: false
}
from paddle.trainer_config_helpers import *
settings(batch_size=1000, learning_rate=1e-5)
data = data_layer(name='data', size=2016, height=48, width=42)
indices = data_layer(name='indices', size=6)
mul_value = mul_value_layer(input=data, indices=indices, value=0.0)
outputs(mul_value)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册