Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for example (0.15 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // Returns size of specified dimension
      //
      // -1 indicates an unknown axis length; this is unreachable for most standard
      // ImmediateExecutionTensorHandles, but comes up for example when computing
      // the shape of a parallel tensor with component shapes differing across
      // devices.
      virtual Status Dim(int dim_index, int64_t* dim) const = 0;
    
      // Returns the device which created the handle.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. ci/official/wheel_test/README.md

    specific Python version.
    
    ##### Parameters
    `path_to_tensorflow_wheel`: The local path to the TensorFlow wheel file.
    Example: `/tmp/tensorflow-2.14.0-cp311-cp311-linux_x86_64.whl`
    
    `python_version`: The target Python version, replacing `.` with `_`.
    Example: For Python 3.11, use `3_11`
    
    The script performs the following steps:
    
    1. Navigates to the `../requirements_updater` directory.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_DeleteContextOptions(opts);
    
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      /* Want to test simple MatMul example:
        [[0,0],    *   [[0,0],    =   [[0,0],
         [0,0]]         [0,0]]         [0,0]]
      */
    
      // Build an abstract input tensor.
      int64_t dims[] = {2, 2};  // Matrices will be 2 x 2
    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)
  4. tensorflow/c/c_api_test.cc

      // Write {0, 1, 2, 3} as tensorflow::Example inputs.
      Tensor input(tensorflow::DT_STRING, TensorShape({4}));
      for (int64_t i = 0; i < input.NumElements(); ++i) {
        tensorflow::Example example;
        auto* feature_map = example.mutable_features()->mutable_feature();
        (*feature_map)["x"].mutable_float_list()->add_value(i);
        input.flat<tstring>()(i) = example.SerializeAsString();
      }
    
    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)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // invocation. By default, we are testing all schemes available but this can be
    // restricted by using `--schemes` to specify a set of schemes to test.
    //
    // Example invocation:
    //  bazel test //tensorflow/c/experimental/filesystem:modular_filesystem_test \\
    //  --test_arg=--dso=/path/to/one.so --test_arg=--dso=/path/to/another.so \\
    //  --test_arg=--scheme= --test_arg=--scheme=file
    //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

    // 6. Create a context D using the full cluster server def E.
    // 7. Read the variable in D.
    TEST(CAPI, SingleHostServerDefV1Works) {
      // Create a server def that represents a 2-process cluster and a client.
      // Example:
      //
      // cluster { job { name: "worker"
      //                 tasks { key: 0 value: "localhost:14522" }
      //                 tasks { key: 1 value: "localhost:14523" }
      //               }
    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)
  7. .gitignore

    # iOS
    *.pbxproj
    *.xcworkspace
    /*.podspec
    /tensorflow/lite/**/coreml/**/BUILD
    /tensorflow/lite/**/ios/BUILD
    /tensorflow/lite/**/objc/BUILD
    /tensorflow/lite/**/swift/BUILD
    /tensorflow/lite/examples/ios/simple/data/*.tflite
    /tensorflow/lite/examples/ios/simple/data/*.txt
    Podfile.lock
    Pods
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jan 31 22:28:59 GMT 2024
    - 934 bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    *   [C/C++ license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/op.cc#L1)
    *   [Python license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/nn.py#L1)
    *   [Java license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/src/main/java/org/tensorflow/Graph.java#L1)
    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)
  9. ci/official/requirements_updater/README.md

    and
    [here](https://github.com/tensorflow/tensorflow/commit/052445e04ce20fd747657e0198a1bcec2b6dff5b),
    for an example.
    
    See
    [this commit](https://github.com/tensorflow/tensorflow/commit/5f7f05a80aac9b01325a78ec3fcff0dbedb1cc23)
    as a rough example of the steps below.
    
    All the files referenced below are located in the same directory as this README,
    unless indicated otherwise.
    
    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)
  10. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    set -euxo pipefail
    
    # Run this from inside the tensorflow github directory.
    # Usage: setup_venv_test.sh venv_and_symlink_name "glob pattern for one wheel file"
    # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl"
    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top