Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for sargument (0.15 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TFE_DeleteContextOptions(opts);
    
      TF_AbstractFunction* f = TF_FinalizeFunction(ctx, nullptr, status.get());
      ASSERT_EQ(nullptr, f);
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      TF_DeleteExecutionContext(ctx);
    }
    
    TEST_P(UnifiedCAPI, TF_AbstractOpSetOpTypeAfterFinishingOpBuildingRaises) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, 5, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s);
    
      // Try to set an invalid shape (cannot change 2x3 to a 2x5).
      dims[1] = 5;
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s);
    
      // Test for a scalar.
      TF_Operation* three = ScalarConst(3, graph, s);
    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)
  3. tensorflow/c/eager/c_api_test.cc

      TF_Tensor* t = TFE_TensorHandleResolve(h, status.get());
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      ASSERT_EQ(t, nullptr);
      ASSERT_EQ("Invalid handle", string(TF_Message(status.get())));
    
      TF_SetStatus(status.get(), TF_OK, "");
    
      const char* device_name = TFE_TensorHandleDeviceName(h, status.get());
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      ASSERT_EQ(device_name, nullptr);
    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)
  4. tensorflow/c/eager/c_api_experimental_test.cc

      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      ASSERT_EQ(device_type, nullptr);
      ASSERT_EQ("Invalid handle", string(TF_Message(status.get())));
    
      TF_SetStatus(status.get(), TF_OK, "");
    
      int device_id = TFE_TensorHandleDeviceID(h, status.get());
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      ASSERT_EQ(device_id, -1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  5. ci/official/requirements_updater/README.md

    To set a different version, use the `TF_PYTHON_VERSION` environment variable,
    e.g.
    
    ```
    export TF_PYTHON_VERSION=3.11
    ```
    
    To specify the version via a Bazel command argument, use the following:
    
    ```
    --repo_env=TF_PYTHON_VERSION=3.11
    ```
    
    ## Requirements updater
    
    Requirements updater is a standalone tool, intended to simplify process of
    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 (1)
  6. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

     # endif
     #endif
     
    +/* Undefine (also defined in libc-symbols.h).  */
    +#undef __attribute_copy__
    +#if __GNUC_PREREQ (9, 0)
    +/* Copies attributes from the declaration or type referenced by
    +   the argument.  */
    +# define __attribute_copy__(arg) __attribute__ ((__copy__ (arg)))
    +#else
    +# define __attribute_copy__(arg)
    +#endif
    +
     #endif	 /* sys/cdefs.h */
    diff --git a/stdlib/setenv.c b/stdlib/setenv.c
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. .github/workflows/release-branch-cherrypick.yml

    # input the branch name and paste the cherry-pick commit and click Run. A PR
    # will be created.
    
    name: Release Branch Cherrypick
    on:
      workflow_dispatch:
        inputs:
          # We use this instead of the "run on branch" argument because GitHub looks
          # on that branch for a workflow.yml file, and we'd have to cherry-pick
          # this file into those branches.
          release_branch:
            description: 'Release branch name (e.g. r2.9)'
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 14:49:29 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. ci/official/wheel_test/update_requirements.sh

    # -u: error if undefined variable used
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    set -euo pipefail -o history
    
    # Check for required arguments
    if [ -z "$1" ]; then
      echo "Usage: $0 <path_to_tensorflow_wheel> <python_version>"
      exit 1
    fi
    
    TENSORFLOW_WHEEL_PATH="$1"
    PYTHON_VERSION="$2"
    
    # All commands run relative to this directory
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/BUILD

    tf_cc_test(
        name = "modular_filesystem_test",
        size = "small",
        srcs = ["modular_filesystem_test.cc"],
        linkopts = ["-ldl"],
        tags = [
            "manual",  # Requires DSOs as arguments, eventual setup
            "notap",  # b/139060984, requires implementing modular support for Google filesystem
        ],
        deps = [
            ":modular_filesystem",
            "//tensorflow/core:framework_internal",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/dlpack.cc

      // 1) nullptr indicates tensor is compact and row-majored.
      // 2) fill in the strides array as the real case for compact row-major data.
      // Here we choose option 2, since some frameworks didn't handle the strides
      // argument properly.
      dlm_tensor->dl_tensor.strides = stride_arr->data();
    
      dlm_tensor->dl_tensor.byte_offset =
          0;  // TF doesn't handle the strides and byte_offsets here
      return static_cast<void*>(dlm_tensor);
    }
    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)
Back to top