Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Sample (0.19 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      TF_Status* status = TF_NewStatus();
      auto* buckets = TFE_MonitoringNewExponentialBuckets(1.0, 2.0, 2);
      auto* sampler =
          TFE_MonitoringNewSampler0("test/sampler", buckets, status, "test");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      auto* cell = TFE_MonitoringGetCellSampler0(sampler);
      TFE_MonitoringSamplerCellAdd(cell, 1.0);
      auto* collection_registry = monitoring::CollectionRegistry::Default();
    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)
  2. .gitignore

    *.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)
  3. 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)
  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/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)
  6. RELEASE.md

        *   Added a new `rerandomize_each_iteration` argument for the `tf.data.Dataset.sample_from_datasets()` operation, which controls whether the sequence of generated random numbers used for sampling should be re-randomized every epoch or not. If `seed` is set and `rerandomize_each_iteration=True`, the `sample_from_datasets()` operation will use a different (deterministic) sequence of numbers every epoch.
    
    *   `tf.test`:
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  7. 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)
  8. tensorflow/c/eager/c_api_experimental.h

                                    const char* label1, const char* label2);
    
    // -----------------------------------------------------------------------------
    // Monitoring Sampler APIs.
    // These APIs de-templated monitoring Sampler for swig.
    
    typedef struct TFE_MonitoringSamplerCell TFE_MonitoringSamplerCell;
    
    // Atomically add the value of the cell.
    TF_CAPI_EXPORT extern void TFE_MonitoringSamplerCellAdd(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  9. 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)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

                cat errors.txt
                rm errors.txt
                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    repeats of these filename(s) with different casing:
    EOF
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top