Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Code (0.17 sec)

  1. tensorflow/c/c_test_util.cc

        }
      }
      return found_dtype && found_value;
    }
    
    bool IsAddN(const tensorflow::NodeDef& node_def, int n) {
      if (node_def.op() != "AddN" || node_def.name() != "add" ||
          node_def.input_size() != n) {
        return false;
      }
      bool found_t = false;
      bool found_n = false;
      for (const auto& attr : node_def.attr()) {
        if (attr.first == "T") {
          if (attr.second.type() == tensorflow::DT_INT32) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
Back to top