Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for constraint (0.17 sec)

  1. tensorflow/BUILD

    config_setting(
        name = "android",
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:android"],
            [],
        ),
        values = if_oss(
            {"crosstool_top": "//external:android/crosstool"},
            {},
        ),
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "android_x86",
        constraint_values = if_google(
    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)
  2. tensorflow/c/eager/abstract_operation.h

      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
      // the result will be used as a constraint for device placement. See the
      // documentation for DeviceName for more details.
      //
      // The value will override the previous value - that is, no "merging" of
      // existing and given constraints will be performed.
      virtual Status SetDeviceName(const char* name) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  3. ci/devinfra/docker_windows/Dockerfile

        sdkmanager 'extras;android;m2repository'; \
        sdkmanager 'extras;intel;Hardware_Accelerated_Execution_Manager'; \
        sdkmanager 'extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0'; \
        sdkmanager 'extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2'; \
        sdkmanager 'patcher;v4'; \
        sdkmanager 'ndk;25.1.8937393'; \
        sdkmanager 'build-tools;27.0.3';
    
    # Install Scoop and packages
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_internal.h

          : node_builder(node_name, op_type, g->graph.op_registry()), graph(g) {}
    
      tensorflow::NodeBuilder node_builder;
      TF_Graph* graph;
      std::set<tensorflow::string> colocation_constraints;
    };
    
    struct TF_Operation {
      tensorflow::Node node;
    
     private:
      ~TF_Operation() = default;
    };
    
    struct TF_Session {
      TF_Session(tensorflow::Session* s, TF_Graph* g);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

        feed2_ = Placeholder(graph_, s_, "feed2");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        constant_ = ScalarConst(10, graph_, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        desc_ = TF_NewOperation(graph_, "AddN", "add");
        TF_Output inputs[] = {{feed1_, 0}, {constant_, 0}};
        TF_AddInputList(desc_, inputs, TF_ARRAYSIZE(inputs));
      }
    
      ~CApiColocationTest() override {
    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)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// The output is in `buffer`, core TensorFlow owns the buffer and guarantees
      /// that at least `n` bytes are available.
      ///
      /// Returns number of bytes read or -1 in case of error. Because of this
      /// constraint and the fact that `ssize_t` is not defined in `stdint.h`/C++
      /// standard, the return type is `int64_t`.
      ///
      /// This is thread safe.
      ///
      /// Note: the `buffer` argument is NOT a null terminated string!
    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)
  7. RELEASE.md

    *   TensorFlow 1.15 is built using devtoolset7 (GCC7) on Ubuntu 16. This may
        lead to ABI incompatibilities with extensions built against earlier versions
        of TensorFlow.
    *   Deprecated the use of `constraint=` and `.constraint` with ResourceVariable.
    *   `tf.keras`:
        *   `OMP_NUM_THREADS` is no longer used by the default Keras config. To
            configure the number of threads, use `tf.config.threading` APIs.
    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)
  8. tensorflow/c/c_api.cc

                                         desc->node_builder.node_name(), "'");
      } else {
        if (!desc->colocation_constraints.empty()) {
          desc->node_builder.Attr(
              tensorflow::kColocationAttrName,
              std::vector<string>(desc->colocation_constraints.begin(),
                                  desc->colocation_constraints.end()));
        }
        status->status = desc->node_builder.Finalize(&desc->graph->graph, &ret,
    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)
  9. ci/official/utilities/rename_and_verify_wheels.sh

    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
      "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)'
      "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'
    fi
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                               const size_t* lengths, int num_values) override {
        if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
          op_->colocation_constraints.clear();
          for (int i = 0; i < num_values; ++i) {
            op_->colocation_constraints.emplace(static_cast<const char*>(values[i]),
                                                lengths[i]);
          }
        } else {
          std::vector<tensorflow::StringPiece> v;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
Back to top