test_cost_layers_with_weight.protostr 2.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
type: "nn"
layers {
  name: "input"
  type: "data"
  size: 300
  active_type: ""
}
layers {
  name: "label"
  type: "data"
  size: 1
  active_type: ""
}
layers {
  name: "weight"
  type: "data"
  size: 1
  active_type: ""
}
layers {
  name: "__fc_layer_0__"
  type: "fc"
  size: 10
  active_type: "softmax"
  inputs {
    input_layer_name: "input"
    input_parameter_name: "___fc_layer_0__.w0"
  }
  bias_parameter_name: "___fc_layer_0__.wbias"
}
layers {
  name: "__cost_0__"
  type: "multi-class-cross-entropy"
  size: 1
  active_type: ""
  inputs {
    input_layer_name: "__fc_layer_0__"
  }
  inputs {
    input_layer_name: "label"
  }
  inputs {
    input_layer_name: "weight"
  }
  coeff: 1.0
}
layers {
  name: "__regression_cost_0__"
  type: "square_error"
  size: 1
  active_type: ""
  inputs {
    input_layer_name: "__fc_layer_0__"
  }
  inputs {
    input_layer_name: "label"
  }
  inputs {
    input_layer_name: "weight"
  }
  coeff: 1.0
}
parameters {
  name: "___fc_layer_0__.w0"
  size: 3000
  initial_mean: 0.0
  initial_std: 0.057735026919
  dims: 300
  dims: 10
  initial_strategy: 0
  initial_smart: true
}
parameters {
  name: "___fc_layer_0__.wbias"
  size: 10
  initial_mean: 0.0
  initial_std: 0.0
  dims: 1
  dims: 10
  initial_strategy: 0
  initial_smart: false
}
input_layer_names: "input"
input_layer_names: "label"
input_layer_names: "weight"
output_layer_names: "__cost_0__"
output_layer_names: "__regression_cost_0__"
evaluators {
  name: "classification_error_evaluator"
  type: "classification_error"
  input_layers: "__fc_layer_0__"
  input_layers: "label"
  input_layers: "weight"
}
sub_models {
  name: "root"
  layer_names: "input"
  layer_names: "label"
  layer_names: "weight"
  layer_names: "__fc_layer_0__"
  layer_names: "__cost_0__"
  layer_names: "__regression_cost_0__"
  input_layer_names: "input"
  input_layer_names: "label"
  input_layer_names: "weight"
  output_layer_names: "__cost_0__"
  output_layer_names: "__regression_cost_0__"
  evaluator_names: "classification_error_evaluator"
  is_recurrent_layer_group: false
}