Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for example (0.16 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. 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)
  6. 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 (0)
  7. tensorflow/c/experimental/ops/README.md

    To generate additional operators, extend the lists in this script. Note that
    category names correspond to generated source file names, and should be
    consistent with the original source files registering each operator. For example
    since `REGISTER_OP("MatMul")` appears in ***core/math_ops.cc***, the "MatMul"
    operator in the script should be in the "math" category, and it will be
    generated in the output file `c/experimental/ops/math_ops.cc`.
    
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jul 28 17:21:01 GMT 2021
    - 993 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. SECURITY.md

    to the network can execute arbitrary code with the privileges of the user
    running the `tf.train.Server`.
    
    ## Untrusted inputs during training and prediction
    
    TensorFlow supports a wide range of input data formats. For example it can
    process images, audio, videos, and text. There are several modules specialized
    in taking those formats, modifying them, and/or converting them to intermediate
    formats that can be processed by TensorFlow.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
Back to top