message: Fixed GetCLNodeTensors.
diff: @@ -53,21 +53,20 @@ bool IsReady(const std::unordered_set<ValueId>& ready_tensors,
  std::vector<std::pair<ValueId, TensorDescriptor>> GetCLNodeTensors(
  const CLNode& node) {
  std::vector<std::pair<ValueId, TensorDescriptor>> result;
  - for (int i = 0; i < node.operations.size(); ++i) {
  - const OperationDef op_def = node.operations[i]->GetDefinition();
  + const OperationDef main_def = node.operations[0]->GetDefinition();
  const auto& first_range = node.ranges[0];
  for (int k = first_range.x; k < first_range.y; ++k) {
  - result.push_back({node.inputs[k], op_def.src_tensors[k - first_range.x]});
  + result.push_back({node.inputs[k], main_def.src_tensors[k - first_range.x]});
  }
  for (int j = 1; j < node.ranges.size(); ++j) {
  const auto& range = node.ranges[j];
  + const OperationDef op_def = node.operations[j]->GetDefinition();
  for (int k = range.x; k < range.y; ++k) {
  result.push_back({node.inputs[k], op_def.src_tensors[k - range.x + 1]});
  }
  }
  for (int j = 0; j < node.outputs.size(); ++j) {
  - result.push_back({node.outputs[j], op_def.dst_tensors[j]});
  - }
  + result.push_back({node.outputs[j], main_def.dst_tensors[j]});
  }
  return result;
  