Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tension (0.17 sec)

  1. tensorflow/c/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Tensor* expected_out0 = expected_csession->output_tensor(0);
        TF_Tensor* expected_out1 = expected_csession->output_tensor(1);
    
        CompareTensors(out0, expected_out0);
        CompareTensors(out1, expected_out1);
      }
    
      void CompareTensors(TF_Tensor* a, TF_Tensor* b) {
        float* a_data = static_cast<float*>(TF_TensorData(a));
    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)
  2. tensorflow/c/eager/c_api_test.cc

      TF_Tensor* tensor =
          TF_AllocateTensor(TF_FLOAT, dims.data(), dims.size(), sizeof(float));
      float tensor_data[] = {1};
      memcpy(TF_TensorData(tensor), tensor_data, TF_TensorByteSize(tensor));
      TFE_TensorHandle* tensor_handle = TFE_NewTensorHandle(tensor, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, tensor_handle, status);
      TF_DeleteTensor(tensor);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/BUILD

            # "//tools/cpp:asan_build": [
            # "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
            # ],
            # "//tools/cpp:hwasan_build": [
            # "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
            # ],
            # "//tools/cpp:msan_build": [
            # "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
            # ],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. tensorflow/c/c_api_function_test.cc

       *                 v     v
       *                   add
       *                    |
       *                    |
       *                    v
       */
      // Define
      TF_Tensor* tensor_123 = Int32Tensor({1, 2, 3});
      TF_Operation* c = Const(tensor_123, func_graph_, s_, "const_array");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* split = Split3(c, func_graph_, s_);
    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)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

    // LINT.IfChange(random_access_file_ops_version)
    constexpr int TF_RANDOM_ACCESS_FILE_OPS_API = 0;
    constexpr int TF_RANDOM_ACCESS_FILE_OPS_ABI = 0;
    constexpr size_t TF_RANDOM_ACCESS_FILE_OPS_SIZE =
        sizeof(TF_RandomAccessFileOps);
    // LINT.ThenChange()
    
    // LINT.IfChange(writable_file_ops_version)
    constexpr int TF_WRITABLE_FILE_OPS_API = 0;
    constexpr int TF_WRITABLE_FILE_OPS_ABI = 0;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. configure.py

      curr_version_split = curr_version.lower().split('clang version ')
      if len(curr_version_split) > 1:
        curr_version = curr_version_split[1].split()[0]
    
      curr_version_int = convert_version_to_int(curr_version)
      # Check if current clang version can be detected properly.
      if not curr_version_int:
        print('WARNING: current clang installation is not a release version.\n')
        return None
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  8. .bazelrc

    build:cuda_clang --repo_env=TF_CUDA_COMPUTE_CAPABILITIES="sm_60,sm_70,sm_80,sm_89,compute_90"
    
    # Set up compilation CUDA version and paths and use the CUDA Clang toolchain.
    build:cuda_clang_official --config=cuda_clang
    build:cuda_clang_official --action_env=TF_CUDA_VERSION="12"
    build:cuda_clang_official --action_env=TF_CUDNN_VERSION="8"
    build:cuda_clang_official --action_env=CUDA_TOOLKIT_PATH="/usr/local/cuda-12.3"
    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)
  9. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status);
    
    // Destroy a session object.
    //
    // Even if error information is recorded in *status, this call discards all
    // local resources associated with the session.  The session may not be used
    // during or after this call (and the session drops its reference to the
    // corresponding graph).
    TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top