Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for leash (0.13 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      if (!status.ok())
        GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status;
    
      char scratch[64 /* must be bigger than test_data */] = {0};
      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OUT_OF_RANGE);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const int num_devices = TF_DeviceListCount(devices);
      EXPECT_GE(num_devices, 1) << "At least one CPU device should exist";
      for (int i = 0; i < num_devices; ++i) {
        EXPECT_NE("", TF_DeviceListName(devices, i, status)) << i;
        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      }
    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/c_api_test.cc

    }
    
    void NoOpDeallocator(void* data, size_t, void*) {}
    
    TEST(CAPI, MalformedTensor) {
      // See https://github.com/tensorflow/tensorflow/issues/7394
      // num_dims = 0 implies a scalar, so should be backed by at least 4 bytes of
      // data.
      TF_Tensor* t =
          TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr);
      ASSERT_TRUE(t == nullptr);
    }
    
    TEST(CAPI, AllocateTensor) {
    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/grappler/grappler.h

    // nodes, keep_ops, init_ops. Fills in `values` and `lengths`, each of which
    // must point to an array of length at least `num_values`.
    //
    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  5. ci/official/requirements_updater/README.md

       `release_updater.sh`
    
    5) Run the `updater.sh` shell script. \
       If the base requirements file hasn't yet been updated to account for the new
       Python version, which will require different versions for at least some
       dependencies, it will need to be updated now, for the script to run
       successfully.
    
    6) A new `requirements_lock_3_11.txt` file should appear under the root of the
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/cuda.packages.txt

    libcudnn8=8.9.6.50-1+cuda12.2
    libcudnn8-dev=8.9.6.50-1+cuda12.2
    
    # This can be removed once NVIDIA publishes a cuda-12.3.2 Docker image.
    # For now it ensures that we install at least version 12.3.107 of PTXAS,
    # since 12.3.103 has a bug.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 368 bytes
    - Viewed (1)
  7. CONTRIBUTING.md

        to the core.
    *   As every PR requires several CPU/GPU hours of CI testing, we discourage
        submitting PRs to fix one typo, one warning,etc. We recommend fixing the
        same issue at the file level at least (e.g.: fix all typos in a file, fix
        all compiler warnings in a file, etc.)
    *   Tests should follow the
        [testing best practices](https://www.tensorflow.org/community/contribute/tests)
        guide.
    
    #### License
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    // in the memory of the device name 'device_name'.
    // If source and destination are the same device, then this creates a new handle
    // that shares the underlying buffer. Otherwise, it currently requires at least
    // one of the source or destination devices to be CPU (i.e., for the source or
    // destination tensor to be placed in host memory).
    // If async execution is enabled, the copy may be enqueued and the call will
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  9. tensorflow/c/c_api.cc

          "important to you");
      return EmptyWhileParams();
    #else
      if (ninputs == 0) {
        status->status =
            InvalidArgument("TF_NewWhile() must be passed at least one input");
        return EmptyWhileParams();
      }
    
      TF_Graph* cond_graph = TF_NewGraph();
      TF_Graph* body_graph = TF_NewGraph();
      cond_graph->parent = g;
      cond_graph->parent_inputs = inputs;
    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)
  10. tensorflow/c/eager/gradients.h

      // watched inputs.
      void Watch(const AbstractTensorHandle*);
      // Records an operation with given inputs and outputs
      // on the tape and marks all its outputs as watched if at
      // least one input of the op is watched and has a trainable dtype.
      // op_name is optional and is used for debugging only.
      void RecordOperation(absl::Span<AbstractTensorHandle* const> inputs,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top