ir_version: 7
producer_name: "nGraph ONNX Importer"
graph {
  node {
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640Shape3D"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 3
        data_type: 7
        int64_data: 0
        int64_data: 0
        int64_data: -1
      }
      type: TENSOR
    }
    domain: ""
  }
  node {
    input: "x"
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640Shape3D"
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_NCD"
    op_type: "Reshape"
    domain: ""
  }
  node {
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_NCD"
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_NDC"
    op_type: "Transpose"
    attribute {
      name: "perm"
      ints: 0
      ints: 2
      ints: 1
      type: INTS
    }
    domain: ""
  }
  node {
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_NDC"
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_LogSM"
    op_type: "LogSoftmax"
    attribute {
      name: "axis"
      i: 2
      type: INT
    }
    domain: ""
  }
  node {
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_LogSM"
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_LogSM_NCD"
    op_type: "Transpose"
    attribute {
      name: "perm"
      ints: 0
      ints: 2
      ints: 1
      type: INTS
    }
    domain: ""
  }
  node {
    input: "x"
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_shape"
    op_type: "Shape"
    domain: ""
  }
  node {
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_LogSM_NCD"
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_shape"
    output: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_Log"
    op_type: "Reshape"
    domain: ""
  }
  node {
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640const_zero"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 1
        data_type: 6
        int32_data: 0
      }
      type: TENSOR
    }
    domain: ""
  }
  node {
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640const_one"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 1
        data_type: 6
        int32_data: 1
      }
      type: TENSOR
    }
    domain: ""
  }
  node {
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640axes"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 1
        data_type: 7
        int64_data: 1
      }
      type: TENSOR
    }
    domain: ""
  }
  node {
    input: "y"
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640axes"
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640expanded_target"
    op_type: "Unsqueeze"
    domain: ""
  }
  node {
    input: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_Log"
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640expanded_target"
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640input_gather_element"
    op_type: "GatherElements"
    attribute {
      name: "axis"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640input_gather_element"
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640loss_NCdd"
    op_type: "Neg"
    domain: ""
  }
  node {
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640loss_NCdd"
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640const_zero"
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640const_one"
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640const_one"
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640loss_N1dd"
    op_type: "Slice"
    domain: ""
  }
  node {
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640loss_N1dd"
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640axes"
    output: "Func_NegativeLogLikelihoodLoss0x7ffe150df640loss_Ndd"
    op_type: "Squeeze"
    domain: ""
  }
  node {
    input: "Func_NegativeLogLikelihoodLoss0x7ffe150df640loss_Ndd"
    output: "z"
    op_type: "ReduceMean"
    attribute {
      name: "keepdims"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "z"
    output: "cast_out"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 6
      type: INT
    }
  }
  input {
    name: "x"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 5
          }
        }
      }
    }
  }
  input {
    name: "y"
    type {
      tensor_type {
        elem_type: 7
        shape {
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  output {
    name: "cast_out"
    type {
      tensor_type {
        elem_type: 6
        shape {
        }
      }
    }
  }
  value_info {
    name: "z"
    type {
      tensor_type {
        elem_type: 1
        shape {
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640Shape3D"
    type {
      tensor_type {
        elem_type: 7
        shape {
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_NCD"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 5
          }
          dim {
            dim_value: 1
          }
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_NDC"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 5
          }
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_LogSM"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 5
          }
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_LogSM_NCD"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 5
          }
          dim {
            dim_value: 1
          }
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_shape"
    type {
      tensor_type {
        elem_type: 7
        shape {
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  value_info {
    name: "Func_SoftmaxCrossEntropyLoss0x7ffe150df640X_Log"
    type {
      tensor_type {
        elem_type: 1
      }
    }
  }
}
opset_import {
  version: 13
}
