Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for acquire (0.18 sec)

  1. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. 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 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            int64_t bytes_transferred;
            bytes_transferred = block_fetcher_(key.first, key.second, block_size_,
                                               block->data.data(), status);
            block->mu.Lock();  // Reacquire the lock immediately afterwards
            if (TF_GetCode(status) == TF_OK) {
              block->data.resize(bytes_transferred, 0);
              // Shrink the data capacity to the actual size used.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      // root directory. Otherwise, we need to add the `<scheme>://` in front of
      // this path.
      //
      // Note that some filesystem might require a different approach here, for
      // example they might require the root directory path to be in a special
      // format, etc. When we get there, we might decide to move this class to
      // `modular_filesystem_test.h` and extend the instantiation to also take as
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top