Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for rect (0.17 sec)

  1. tensorflow/c/c_api.cc

      if (api_def == nullptr) {
        return nullptr;
      }
    
      TF_Buffer* ret = TF_NewBuffer();
      status->status = MessageToBuffer(*api_def, ret);
      if (!status->status.ok()) {
        TF_DeleteBuffer(ret);
        return nullptr;
      }
      return ret;
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    C++
    - Registered: Tue Apr 30 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_experimental.cc

      }
      TF_Buffer* ret = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(options, ret));
      return ret;
    }
    
    const char* TF_GraphDebugString(TF_Graph* graph, size_t* len) {
      tensorflow::mutex_lock c(graph->mu);
      const auto& debug_str = graph->graph.ToGraphDefDebug().DebugString();
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

                                      TF_Status* status) {
      TF_AttrType ret;
      TFE_Op* op = TFE_NewOp(ctx, op_or_function_name, status);
      if (status->status.ok()) {
        ret = TFE_OpGetAttrType(op, attr_name, is_list, status);
      } else {
        ret = TF_ATTR_INT;  // Same dummy return as TFE_OpGetAttrType.
      }
      TFE_DeleteOp(op);
      return ret;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top