Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Reiter (0.18 sec)

  1. tensorflow/c/c_api.cc

      if (!status->status.ok()) return -1;
      auto iter = name_ranges.find(arg_name);
      if (iter == name_ranges.end()) {
        status->status = InvalidArgument("Output arg '", arg_name, "' not found");
        return -1;
      }
      return iter->second.second - iter->second.first;
    }
    
    int TF_OperationNumInputs(TF_Operation* oper) {
      return oper->node.num_inputs();
    }
    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

      auto iter = builder->attr_names.insert(attr_name).first;
      builder->Set(*iter, static_cast<tensorflow::DataType>(value));
    }
    
    void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder, const char* attr_name,
                                   const TF_DataType* values, int num_values) {
      auto iter = builder->attr_names.insert(attr_name).first;
    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/c_api_function.cc

                                        " into function '", fn_name, "'");
    
        input_tensors->emplace_back(node, idx);
    
        const auto& iter = input_nodes->find(node);
        if (iter == input_nodes->end()) {
          input_nodes->insert({node, {idx}});
        } else {
          auto& indices = iter->second;
          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/c_api_test.cc

        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. tensorflow/c/eager/c_api_experimental.cc

        return;
      }
      std::vector<tensorflow::CoordinatedTask> task_vec(tasks.length);
      auto* task_iter = static_cast<const tensorflow::CoordinatedTask*>(tasks.data);
      for (size_t i = 0; i < tasks.length; ++i) {
        task_vec[i].set_job_name(task_iter->job_name());
        task_vec[i].set_task_id(task_iter->task_id());
        ++task_iter;
      }
      auto results = coord_agent->GetTaskState(task_vec);
      if (!results.ok()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top