Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Operator (0.29 sec)

  1. tensorflow/c/c_api.cc

      return oper->node.attrs().size();
    }
    
    int TF_OperationGetAttrNameLength(TF_Operation* oper, int i) {
      auto attrs = oper->node.attrs();
      int count = 0;
      AttrValueMap::const_iterator it;
      for (it = attrs.begin(); it != attrs.end(); it++) {
        if (count == i) {
          return it->first.length();
        }
        count++;
      }
      return -1;
    }
    
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/c_api.h"
    
    #include <algorithm>
    #include <cstddef>
    #include <iterator>
    #include <memory>
    #include <vector>
    
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/c_test_util.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top