Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for switches (0.22 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        }
      });
      // Loop until either block content is successfully fetched, or our request
      // encounters an error.
      absl::MutexLock l(&block->mu);
      TF_SetStatus(status, TF_OK, "");
      while (true) {
        switch (block->state) {
          case FetchState::ERROR:
            // TF_FALLTHROUGH_INTENDED
          case FetchState::CREATED:
            block->state = FetchState::FETCHING;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack.cc

      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. .github/bot_config.yml

          * Try Google Colab to use TensorFlow.
             * The easiest way to use TF will be to switch to [google colab](https://colab.sandbox.google.com/notebooks/welcome.ipynb#recent=true). You get pre-installed latest stable TF version. Also you can use ```pip install```  to install any other preferred TF version.
             * It has an added advantage since you can you easily switch to different hardware accelerators (cpu, gpu, tpu) as per the task.
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Oct 17 11:48:07 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

                                                TF_Status* status) {
      TF_AttrMetadata metadata;
      const auto* attr = GetAttrValue(oper, attr_name, status);
      if (!status->status.ok()) return metadata;
      switch (attr->value_case()) {
    #define SINGLE_CASE(kK, attr_type, size_expr) \
      case tensorflow::AttrValue::kK:             \
        metadata.is_list = 0;                     \
        metadata.list_size = -1;                  \
    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)
  5. RELEASE.md

    *   Removes `scipy` dependency from `setup.py` since TensorFlow does not need it
        to install the pip package
    *   Switches ROCM builds to use ROCM 3.7
    
    # Release 2.0.3
    
    ## Bug Fixes and Other Changes
    
    *   Fixes an undefined behavior causing a segfault in `tf.raw_ops.Switch`
        ([CVE-2020-15190](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15190))
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. .github/workflows/trusted-partners.yml

                const username = context.payload.pull_request.user.login;
                const domain = await script.get_email_domain({github, username});
                switch(domain) {
                case "intel.com":
                  console.log(await script.filter({github, context, domain}));
                  break;
                case "apple.com":
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 14:49:29 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

      VerifyFDefEdges(fdef,
                      {{"feed1", "test_loop/Enter:0"},
                       {"test_loop/Enter:output:0", "test_loop/Merge:0"},
                       {"test_loop/Merge:output:0", "test_loop/Switch:0"},
                       {"test_loop/Switch:output_false:0", "test_loop/Exit:0"},
                       {"test_loop/Exit:output:0", "test_loop_exit"}},
                      {}, false);
    }
    
    TEST_F(CApiFunctionTest, ControlDependency) {
      /*
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. tensorflow/c/eager/c_api.cc

    namespace tensorflow {
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status) {
      switch (default_value.value_case()) {
        case tensorflow::AttrValue::kS: {
          const string& v = default_value.s();
          TFE_OpSetAttrString(op, attr_name, v.data(), v.size());
          break;
        }
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      outfile->flush();
      // `*offset == 0` means this file does not exist on the server.
      if (*offset == -1 || *offset == 0) {
        // UploadFile will automatically switch to resumable upload based on Client
        // configuration.
        auto metadata = gcs_client->UploadFile(outfile->getName(), bucket, object,
                                               gcs::Fields("size"));
        if (!metadata) {
    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)
  10. .bazelrc

    build:linux --copt="-Wno-array-bounds"
    
    # Add unused-result as an error on Linux.
    build:linux --copt="-Wunused-result"
    build:linux --copt="-Werror=unused-result"
    # Add switch as an error on Linux.
    build:linux --copt="-Wswitch"
    build:linux --copt="-Werror=switch"
    # Required for building with clang
    build:linux --copt="-Wno-error=unused-but-set-variable"
    
    # Linux ARM64 specific options
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top