Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for example (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// TensorFlow but can be used by each filesystem plugin to represent internal
    /// data.
    ///
    /// We prefer to have these structures instead of passing `void*` into
    /// method signatures to have some type of type safety: for example, operations
    /// that are only valid on random access files have a `TF_RandomAccessFile`
    /// argument.
    ///
    /// Lifetime: The wrapper data structures are owned by core TensorFlow. The data
    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)
  5. tensorflow/BUILD

    # addition to this core set of ops, user libraries which are loaded (via
    # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this
    # shared object directly.
    #
    # For example, from Python tf.load_op_library loads a custom op library (via
    # dlopen() on Linux), the library finds libtensorflow_framework.so (no
    # filesystem search takes place, since libtensorflow_framework.so has already
    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)
  6. .bazelrc

    # MACOS ARM64 WHEEL
    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)
  7. tensorflow/c/c_api.h

    // * unsigned char is used for booleans (instead of the 'bool' type).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    //   For example, neither the C99 nor the C++11 standard force a byte
    //   size on the bool type, so the macro defined in stdbool.h could
    //   be inconsistent with the bool keyword in C++. Thus, the use
    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