Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for acquire (0.19 sec)

  1. tensorflow/c/c_api_test.cc

    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    // That will require setting up the tensorflow build with gmock.
    #define EXPECT_TF_META(attr_name, expected_list_size, expected_type, \
                           expected_total_size)                          \
    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/c_api.cc

      for (const tensorflow::Edge* edge : control_edges) {
        graph->graph.RemoveControlEdge(edge);
      }
    }
    
    void TF_SetRequireShapeInferenceFns(TF_Graph* graph, bool require) {
      mutex_lock l(graph->mu);
      graph->refiner.set_require_shape_inference_fns(require);
    }
    
    void TF_ExtendSession(TF_Session* session, TF_Status* status) {
      ExtendSessionGraphHelper(session, status);
      session->extend_before_run = false;
    }
    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/eager/c_api_experimental.h

      // otherwise be the name of this custom device. Ops are placed onto a custom
      // device if any of their inputs are on that custom device, but custom devices
      // are free to set a bad status in order to require explicit placement.
      void (*execute)(const TFE_Op* op, int* num_outputs,
                      TFE_TensorHandle** outputs, TF_Status* s, void* device_info);
    
      // Method to delete a device.
    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)
  4. CONTRIBUTING.md

    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    *   Keep API compatibility in mind when you change code in core TensorFlow,
        e.g., code in
    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)
  5. tensorflow/c/eager/c_api.cc

          const auto func_op = GetFunc(ctx, default_value.func(), status);
          if (!status->status.ok()) return;
          // TODO(nareshmodi): TFE_OpSetAttrFunction and TFE_OpSetAttrFunctionList
          // require TFE_Op* and just convert it internally a NameAttrValue, so
          // consider adding an overload to the C API to make this case easier.
          TFE_OpSetAttrFunction(op, attr_name, func_op);
          TFE_DeleteOp(func_op);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  6. RELEASE.md

        * If the model is larger than 2GB, then we also require "exclude_conversion_metadata" flag to be set
    
    ### Major Features and Improvements
    
    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. tensorflow/c/experimental/filesystem/plugins/posix/BUILD

            "//tensorflow/c:tf_file_statistics",
            "//tensorflow/c:tf_status",
            "//tensorflow/c/experimental/filesystem:filesystem_interface",
        ],
    )
    
    # Since building pip package and API tests require a filesystem, we provide a
    # static registration target that they should link against.
    cc_library(
        name = "posix_filesystem_static",
        srcs = ["posix_filesystem_static.cc"],
        visibility = ["//visibility:public"],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

      // Accumulate will forward op executions to the tape while the backward
      // function is running; this effectively adds the backward tape to the active
      // set (but does not require complicated callbacks to the language bindings).
      Status ForwardpropFromTape(
          const string& op_type, const std::vector<TapeTensor>& output_tensors,
          const std::function<BackwardFunction*()>& backward_function_getter,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. tensorflow/c/c_api_function.cc

            body_nodes->push_back(node);
          } else {
            // This node is referenced in inputs. Currently, we place an
            // artificial restriction and require that when num_opers=-1, such
            // nodes must have a single output.
            if (node->num_outputs() != 1) {
              return InvalidArgument(
                  "When `num_opers` is set to -1, nodes referenced in `inputs` "
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
Back to top