Forums - ERROR_TF_UNABLE_TO_FIND_OUTPUT_OPERATION

1 post / 0 new
ERROR_TF_UNABLE_TO_FIND_OUTPUT_OPERATION
Jacob_Ke
Join Date: 24 Aug 17
Posts: 10
Posted: Mon, 2017-09-04 10:57

Hi,

I try to convert the pb file of logistic regression model to dlc file by snpe-tensorflow-to-dlc

but i get  error message:

OperationNotFoundError: ERROR_TF_UNABLE_TO_FIND_OUTPUT_OPERATION: Unable to find output operations for op name: "M"

I have no idea about this error...

the following is model detail:

input:30 output:1

node {
  name: "I"
  op: "Placeholder"
  attr {
    key: "dtype"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "shape"
    value {
      shape {
      }
    }
  }
}
node {
  name: "W"
  op: "Const"
  attr {
    key: "dtype"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim {
            size: 30
          }
          dim {
            size: 1
          }
        }
        tensor_content: "\346/\247\276\246\252\366<L_\302\275\307B4\276CE\233\275\'g&\276F\026#\275\377\030\314\275)\224D\276\'\037u\276h\n\306\275j)=\274i\334\r\276K\313\364=\366tY\275\242>\307\275\377!J>Px\335\275\262\3231\276\032\t4\275\263\357^\276]\266\233\2756\204\252\2765\200J\276\217\247\207\276Jk\264\276m\177\355\275\364\3366\276\254-d\276\1775j\276"
      }
    }
  }
}
node {
  name: "B"
  op: "Const"
  attr {
    key: "dtype"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim {
            size: 1
          }
        }
        float_val: 3.01073765755
      }
    }
  }
}
node {
  name: "M"
  op: "MatMul"
  input: "I"
  input: "W"
  attr {
    key: "T"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "transpose_a"
    value {
      b: false
    }
  }
  attr {
    key: "transpose_b"
    value {
      b: false
    }
  }
}
node {
  name: "A"
  op: "Add"
  input: "M"
  input: "B"
  attr {
    key: "T"
    value {
      type: DT_FLOAT
    }
  }
}
node {
  name: "O"
  op: "Sigmoid"
  input: "A"
  attr {
    key: "T"
    value {
      type: DT_FLOAT
    }
  }
}
 
 
Thanks!
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.