Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for elseif (0.17 sec)

  1. configure.py

        if user_input == 'y':
          print(yes_reply)
          var = True
        elif user_input == 'n':
          print(no_reply)
          var = False
        elif not user_input:
          if enabled_by_default:
            print(yes_reply)
            var = True
          else:
            print(no_reply)
            var = False
        else:
          print('Invalid selection: {}'.format(user_input_origin))
      return var
    
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -#    define __mempcpy(dest, src, n) __builtin_mempcpy (dest, src, n)
    -#   elif __GNUC_PREREQ (3, 0)
    -#    define __mempcpy(dest, src, n) \
    -  (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n)      \
    -		  && __string2_1bptr_p (src) && n <= 8			      \
    -		  ? __builtin_memcpy (dest, src, n) + (n)		      \
    -		  : __mempcpy (dest, src, n)))
    -#   else
    -#    define __mempcpy(dest, src, n) \
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          offset += static_cast<uint64_t>(r);
          n -= r;  // safe as 0 < r <= n so n will never underflow
          read += r;
        } else if (r == 0) {
          TF_SetStatus(status, TF_OUT_OF_RANGE, "Read fewer bytes than requested");
          break;
        } else if (errno == EINTR || errno == EAGAIN) {
          // Retry
        } else {
          TF_SetStatusFromIOError(status, errno, posix_file->filename);
          break;
        }
      }
    
      return read;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

                zero_indices.push_back(i);
              }
            }
          } else {
            any_gradient_nonzero = true;
            Gradient* new_gradients = nullptr;
            if (grad_it->second.size() == 1) {
              new_gradients = grad_it->second.at(0);
            } else {
              new_gradients = vspace.AggregateGradients(grad_it->second);
            }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  5. ci/official/envs/public_cache

    # The cache configs are different for MacOS and Linux
    if [[ $(uname -s) == "Darwin" ]]; then
      TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config tf_public_macos_cache"
    else
      TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config tf_public_cache"
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1011 bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

        if (it != loaded_libs->end()) {
          lib_handle->lib_handle = it->second;
        } else {
          status->status =
              env->LoadDynamicLibrary(library_filename, &lib_handle->lib_handle);
          if (status->status.ok()) {
            TF_CHECK_OK(
                tensorflow::RegisterPluggableDevicePlugin(lib_handle->lib_handle));
          } else {
            delete lib_handle;
            return nullptr;
          }
        }
    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)
  7. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

    }
    
    # Is this still useful?
    @test "TensorFlow has Keras" {
        source /tf/venv/bin/activate
        python3 -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. .github/workflows/trusted_partners.js

        assignees = apple_silicon_assignees;
      if (lowercased_title.includes('tf-trt') && domain.includes('nvidia.com')) {
        assignees.push(
            'DEKHTIARJonathan', 'meena-at-work', 'nluehr', 'pjannaty', 'poulsbo');
      } else if (
          lowercased_title.includes('nvidia') && domain.includes('nvidia.com')) {
        if (lowercased_title.includes('jax')) {
          assignees.push('hawkinsp', 'yashk2810', 'skye');
        }
    JavaScript
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/grad_test_helper.cc

             TF_TensorByteSize(analytical_tensor));
    
      for (int64_t j = 0; j < num_elem_analytical; j++) {
        if (abs_error == 0) {
          ASSERT_EQ(manuals[j], danalytical[j]);
        } else {
          ASSERT_NEAR(manuals[j], danalytical[j], abs_error);
        }
      }
    
      TF_DeleteTensor(analytical_tensor);
      delete[] danalytical;
    }
    
    Model BuildGradModel(Model forward, GradientRegistry registry) {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/math_grad_test.cc

        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
Back to top