Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for factor (0.19 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

      return *factories;
    }
    
    static tracing::FactoryFunction default_factory;
    
    void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) {
      assert((!GetFactories().count(name)) ||
             (GetFactories()[name] == factory) &&
                 "Duplicate tracing factory registration");
      GetFactories()[name] = factory;
    }
    
    Status SetDefaultTracingEngine(const char* name) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      server_def.mutable_default_session_config()->set_isolate_session_state(false);
    
      ServerFactory* factory;
      ASSERT_TRUE(ServerFactory::GetFactory(server_def, &factory).ok());
      server_def.set_job_name("worker");
      server_def.set_task_index(0);
      std::unique_ptr<tensorflow::ServerInterface> w0;
      ASSERT_TRUE(
          factory->NewServer(server_def, ServerFactory::Options(), &w0).ok());
      ASSERT_TRUE(w0->Start().ok());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // don't want to have a `std::vector<std::string>` at global level, we use a
    // static pointer to such a vector: we construct it via `SchemeVector()` below
    // and when tests are instantiated we process it using `GetSchemes()`.
    static std::vector<std::string>* SchemeVector() {
      static std::vector<std::string>* schemes = new std::vector<std::string>;
      return schemes;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.cc

                                                               double growth_factor,
                                                               int bucket_count) {
      return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() {
        return tensorflow::monitoring::Buckets::Exponential(scale, growth_factor,
                                                            bucket_count);
      });
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. tensorflow/c/eager/gradients.cc

                               const string& op_name) {
      std::vector<int64_t> input_ids(inputs.size());
      std::vector<tensorflow::DataType> input_dtypes(inputs.size());
      for (int i = 0; i < inputs.size(); i++) {
        input_ids[i] = ToId(inputs[i]);
        input_dtypes[i] = inputs[i]->DataType();
      }
      std::vector<TapeTensor> tape_tensors;
      tape_tensors.reserve(outputs.size());
      for (auto t : outputs) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

                                                        &entries, status_);
      EXPECT_TF_OK(status_);
    
      std::vector<std::string> childrens;
      for (int i = 0; i < num_entries; ++i) {
        childrens.push_back(entries[i]);
      }
      std::sort(childrens.begin(), childrens.end());
      EXPECT_EQ(std::vector<string>({"SubDir/", "TestFile.csv"}), childrens);
    }
    
    TEST_F(GCSFilesystemTest, DeleteFile) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.cc

            absl::InlinedVector<const void*, 4> values_vector;
            values_vector.reserve(s_size);
            absl::InlinedVector<size_t, 4> lengths_vector;
            lengths_vector.reserve(s_size);
            for (int i = 0; i < s_size; ++i) {
              const string& v = default_value.list().s(i);
              values_vector.push_back(v.data());
              lengths_vector.push_back(v.size());
            }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top