Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for profil (0.32 sec)

  1. tensorflow/c/c_api.cc

        const int first_new_node_id = g->graph.num_node_ids();
    
        string prefix_cmp;
        const char* child_scope_name;
        if (prefix == nullptr) {
          child_scope_name = "gradients";
        } else {
          prefix_cmp = string(prefix) + "/";
          // The operation should fail if the provided name prefix has already been
          // used in this graph
          for (const auto& pair : g->name_map) {
    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/checkpoint_reader.cc

      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
        v2_reader_.reset(
            new BundleReader(Env::Default(), filename /* prefix to a V2 ckpt */));
        if (!v2_reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
          return;
        }
        auto result = BuildV2VarMaps();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

          grad_inputs[0] = TF_Output{grad_inputs_op, 0};
          TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs,
                                    ninputs, grad_inputs, s_, grad_outputs);
        } else {
          TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs,
                                    ninputs, nullptr, s_, grad_outputs);
        }
      }
    
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      std::string bucket, prefix;
      MaybeAppendSlash(&dir);
      ParseGCSPath(dir, true, &bucket, &prefix, status);
    
      std::vector<std::string> result;
      uint64_t count = 0;
      std::string delimiter = recursive ? "" : "/";
    
      for (auto&& item : gcs_file->gcs_client.ListObjectsAndPrefixes(
               bucket, gcs::Prefix(prefix), gcs::Delimiter(delimiter),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.cc

      status->status = absl::OkStatus();
    }
    
    void TFE_SetLogicalCpuDevices(TFE_Context* ctx, int num_cpus,
                                  const char* prefix, TF_Status* status) {
      std::vector<std::unique_ptr<tensorflow::Device>> devices;
    
      if (prefix == nullptr || strlen(prefix) == 0)
        prefix = "/job:localhost/replica:0/task:0";
    
      tensorflow::SessionOptions sess_options;
      (*sess_options.config.mutable_device_count())["CPU"] = num_cpus;
    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)
  6. tensorflow/c/eager/c_api.cc

      return tensorflow::wrap(tensorflow::TensorHandle::CreateLocalHandle(tensor));
    }
    
    void TFE_DeleteTensorHandle(TFE_TensorHandle* h) {
      if (h == nullptr) return;
    
      tensorflow::profiler::TraceMe activity(
          "TFE_DeleteTensorHandle", tensorflow::profiler::TraceMeLevel::kInfo);
      if (h) {
        tensorflow::unwrap(h)->Unref();
      }
    }
    
    TF_DataType TFE_TensorHandleDataType(TFE_TensorHandle* h) {
    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