Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for constraint (0.43 sec)

  1. 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)
  2. 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)
  3. tensorflow/c/c_api.h

    //          must have a single output (these operations are typically
    //          placeholders created for the sole purpose of representing
    //          an input. We can relax this constraint if there are
    //          compelling use cases).
    //          - If an array is given (`num_opers` >= 0), all operations
    //          in it will become part of the function. In particular, no
    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)
  4. 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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device.cc

          if (operation_name == std::string("_EagerConst")) {
            // Non-parallel tensors from _EagerConst/tf.constant are implicitly
            // broadcast, i.e. set as the input to each parallel operation. This
            // allows code like "tf.constant(1.)" or "tf.reduce_sum(..., axis=1)"
            // (where the value starts on the host), without allowing other implicit
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  6. 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)
  7. README.md

    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    
    ```python
    >>> import tensorflow as tf
    >>> tf.add(1, 2).numpy()
    3
    >>> hello = tf.constant('Hello, TensorFlow!')
    >>> hello.numpy()
    b'Hello, TensorFlow!'
    ```
    
    For more examples, see the
    [TensorFlow tutorials](https://www.tensorflow.org/tutorials/).
    
    ## Contribution guidelines
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 05 15:00:10 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -#    define __mempcpy(dest, src, n) \
    -  (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n)      \
    -		  && __string2_1bptr_p (src) && n <= 8			      \
    -		  ? __builtin_memcpy (dest, src, n) + (n)		      \
    -		  : __mempcpy (dest, src, n)))
    -#   else
    -#    define __mempcpy(dest, src, n) \
    -  (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n)      \
    -		  && __string2_1bptr_p (src) && n <= 8			      \
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top