Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for James (0.18 sec)

  1. tensorflow/c/c_api.cc

      std::vector<string> input_names(ninputs);
      std::vector<string> output_names(noutputs);
      std::vector<string> target_oper_names(ntargets);
      for (int i = 0; i < ninputs; ++i) {
        input_names[i] = c_input_names[i];
      }
      for (int i = 0; i < noutputs; ++i) {
        output_names[i] = c_output_names[i];
      }
      for (int i = 0; i < ntargets; ++i) {
        target_oper_names[i] = c_target_oper_names[i];
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.cc

    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def) {
      std::vector<string> names;
      auto functions = graph_def.library().function();
      names.reserve(functions.size());
      for (const tensorflow::FunctionDef& func : functions) {
        names.push_back(func.signature().name());
      }
      std::sort(names.begin(), names.end());
      return names;
    }
    
    CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  3. tensorflow/c/c_api_function.cc

      // Process output names.
      std::vector<string> output_names_vec;
      if (output_names) {
        output_names_vec.reserve(noutputs);
        for (int i = 0; i < noutputs; ++i) {
          output_names_vec.push_back(string(output_names[i]));
        }
      }
    
      // Process control output names.
      std::vector<string> control_output_names_vec;
      if (control_output_names) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                underlying_devices_[component_index], underlying_devices_[0])) {
          // Device names are from different address spaces, or we can't figure out
          // whether they are, so we'll fully-qualify everything.
          return underlying_devices_;
        }
      }
      std::vector<std::string> local_names;
      local_names.reserve(underlying_devices_.size());
      for (const DeviceNameUtils::ParsedName& parsed_component :
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. tensorflow/c/eager/parallel_device/parallel_device.cc

        const TFE_OpAttrs* attributes, int expected_max_outputs,
        TF_Status* status) {
      absl::optional<std::vector<MaybeParallelTensorOwned>> result;
      // TODO(allenl): We should remove "TPU" from these op names at the very least,
      // or consider other ways of packing/unpacking parallel tensors.
      if (operation_name == std::string("TPUReplicatedInput")) {
        // Special-cased operation for packing per-device tensors into one parallel
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_distributed_test.cc

                             std::unique_ptr<tensorflow::Graph>* graph,
                             tensorflow::FunctionLibraryDefinition* flib_def,
                             std::vector<std::string>* control_ret_node_names,
                             bool* control_rets_updated) override {
        // Inject failure to function instantiation if finding a node that contains
        // the given node name (error_node_) and requested device (error_device_).
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_test.cc

              /* append_hash_to_fn_name */ 0, /* num_opers */ 2,
              /* opers */ operations, /* ninputs */ 1, /* inputs */ &x,
              /* noutputs */ 1, /* outputs */ &y, /* output_names */ &output_name,
              /* opts */ nullptr, /* description */ "", /* status */ status),
          TF_DeleteFunction);
      if (TF_GetCode(status) != TF_OK) return;
      TFE_ContextAddFunction(context, function.get(), status);
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  8. tensorflow/c/c_api_experimental.cc

      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
      return new TF_AttrBuilder(op_name);
    }
    
    void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; }
    
    void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
                               TF_DataType value) {
      auto iter = builder->attr_names.insert(attr_name).first;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    
      // Update the server def with a new set of names (worker instead of
      // localhost).
      tensorflow::ServerDef updated_server_def = GetServerDef("worker", 2);
      serialized = updated_server_def.SerializeAsString();
    
      updated_server_def.set_task_index(1);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      std::vector<char*> translated_names;
      translated_names.reserve(files.size());
      for (int i = 0; i < files.size(); i++)
        translated_names.push_back(strdup(TranslateName(files[i]).c_str()));
    
      bool result;
      if (status == nullptr) {
        result = ops_->paths_exist(filesystem_.get(), translated_names.data(),
                                   files.size(), nullptr);
      } else {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
Back to top