Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for flag (0.14 sec)

  1. ci/official/utilities/get_versions.sh

    export TF_VER_PATCH=$(awk '/#define TF_PATCH_VERSION/ {print $3}' tensorflow/core/public/version.h)
    
    # Note: in awk, "print $N" prints the Nth "field", where fields are strings separated
    # by whitespace. The flag "-F<x>" changes the behavior such that fields are now strings
    # separated by the character <x>. Therefore, -F\' (escaped single quote) means that field
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/BUILD

    )
    
    # This flag enables experimental TPU support
    bool_flag(
        name = "enable_tpu_support",
        build_setting_default = False,
    )
    
    config_setting(
        name = "with_tpu_support_define",
        define_values = {"with_tpu_support": "true"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "with_tpu_support_flag",
        flag_values = {":enable_tpu_support": "True"},
    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)
  3. ci/official/envs/rbe

           That setting must exist for this script to function correctly.
    EOF
      exit 1
    fi
    TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX"
    
    # These flags share the user's gcloud credentials with the container, so that bazel
    # inside the container can authenticate. Note: TF's CI does not have any credential
    # stored here.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

           std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) {
        // Create C++ Tensor
        Tensor src(tensorflow::DT_STRING, TensorShape(dims));
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          src.flat<tstring>()(i) = data[i];
        }
        TF_Tensor* dst = TF_TensorFromTensor(src, &status);
        ASSERT_TRUE(status.ok()) << status.message();
    
        // Convert back to a C++ Tensor and ensure we get expected output.
    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/c_api_experimental.cc

        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
        flags->tf_xla_min_cluster_size = 1;
      } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

        bazel by doing as follows:
    
        ```bash
        export flags="--config=opt -k"
        ```
    
        If the tests are to be run on the GPU, add CUDA paths to LD_LIBRARY_PATH and
        add the `cuda` option flag
    
        ```bash
        export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH"
        export flags="--config=opt --config=cuda -k"
        ```
    
    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)
  7. .bazelrc

    build:release_arm64_linux --config=mkl_aarch64_threadpool
    build:release_arm64_linux --copt=-flax-vector-conversions
    test:release_arm64_linux --flaky_test_attempts=3
    
    # The old gcc linux build options are preserved in the unsupported_*_linux
    # configs. If your project fails to build with Clang, you can use these
    # unsupported flags to replace the release flags in your build command.
    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)
  8. tensorflow/c/BUILD

                "//tensorflow/core:lib_internal",
                "//tensorflow/core:op_gen_lib",
                "//tensorflow/core:protos_all_cc",
                "//tensorflow/core/config:flag_defs",
                "//tensorflow/core/config:flags",
                "//tensorflow/core/distributed_runtime:server_lib",
                "//tensorflow/core/kernels:logging_ops",
                "@com_google_absl//absl/strings",
            ],
        }),
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/BUILD

        hdrs = ["tape.h"],
        visibility = ["//tensorflow:internal"],
        deps = [
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core/config:flag_defs",
            "//tensorflow/core/config:flags",
        ],
    )
    
    filegroup(
        name = "headers",
        srcs = [
            "c_api.h",
            "c_api_experimental.h",
            "dlpack.h",
        ],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

    #include "tensorflow/core/common_runtime/eval_const_tensor.h"
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/config/flag_defs.h"
    #include "tensorflow/core/config/flags.h"
    #include "tensorflow/core/framework/allocation_description.pb.h"
    #include "tensorflow/core/framework/attr_value_util.h"
    #include "tensorflow/core/framework/cpp_shape_inference.pb.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top