Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Schick (0.2 sec)

  1. tensorflow/c/experimental/grappler/grappler_test.cc

      TF_ASSERT_OK(cluster->Provision());
    
      TrivialTestGraphInputYielder fake_input(4, 1, 10, false,
                                              cluster->GetDeviceNames());
      GrapplerItem item;
      CHECK(fake_input.NextItem(&item));
    
      TF_Status* status = TF_NewStatus();
      TF_GraphProperties* graph_properties =
          TF_NewGraphProperties(reinterpret_cast<TF_GrapplerItem*>(&item));
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_distributed_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    // Add the values of three variables on three different tasks.
    string AddVariablesFunction() {
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          "    signature {"
          "      name: 'AddVariablesFunction'"
          "      input_arg {"
          "        name: 'var'"
          "        type: DT_RESOURCE"
          "      }"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

      control_output_nodes.reserve(ncontrol_outputs);
      for (int i = 0; i < ncontrol_outputs; ++i) {
        control_output_nodes.push_back(&control_outputs[i]->node);
      }
    
      // Do the actual function creation.
      DCHECK(append_hash_to_fn_name <= 1);
      tensorflow::FunctionDef fdef;
      status->status = tensorflow::GraphToFunctionDef(
          fn_body->graph, fn_name, append_hash_to_fn_name != 0,
          /*set_stateful_from_nodes=*/true,
    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)
  4. tensorflow/c/c_api_experimental.cc

                                     const int64_t* dims, int num_dims) {
      DCHECK(index >= 0 && index < shape_list->num_items);
      TF_ShapeAndType& shape = shape_list->items[index];
      DCHECK(shape.dims == nullptr) << "Shape at " << index << " is already set!";
      DCHECK(num_dims >= 0) << "Number of dimensions cannot be negative!";
      shape.num_dims = num_dims;
      shape.dims = new int64_t[num_dims];
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

                              TFE_OpGetAttrs(read_op.get()),
                              /*expected_max_outputs=*/1, status.get());
      ASSERT_FALSE(TF_GetCode(status.get()) == TF_OK);
      TF_SetStatus(status.get(), TF_OK, "");
    
      // Check that ops still run successfully on the device.
      parallel_device.Execute(context.get(), std::vector<ParallelTensor*>(),
                              "VarHandleOp", TFE_OpGetAttrs(handle_op.get()),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Create a new tensor_handle.
      TFE_TensorHandle* h0_task0_new = TestMatrixTensorHandle(ctx);
    
      // Check that copying it to the old remote device (named localhost) fails.
      TFE_TensorHandleCopyToDevice(h0_task0_new, ctx, remote_device_name, status);
      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      int num_devices = TF_DeviceListCount(devices);
      for (int d = 0; d < num_devices; ++d) {
        const char* name = TF_DeviceListName(devices, d, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_TensorHandle* copy = TFE_TensorHandleCopyToDevice(m, ctx, name, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    namespace tf_gcs_filesystem {
    
    bool RamFileBlockCache::BlockNotStale(const std::shared_ptr<Block>& block) {
      absl::MutexLock l(&block->mu);
      if (block->state != FetchState::FINISHED) {
        return true;  // No need to check for staleness.
      }
      if (max_staleness_ == 0) return true;  // Not enforcing staleness.
      return timer_seconds_() - block->timestamp <= max_staleness_;
    }
    
    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)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    TEST_P(UnifiedCAPI, TestBasicEager) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    std::string ModularFileSystem::TranslateName(const std::string& name) const {
      if (ops_->translate_name == nullptr) return FileSystem::TranslateName(name);
    
      char* p = ops_->translate_name(filesystem_.get(), name.c_str());
      CHECK(p != nullptr) << "TranslateName(" << name << ") returned nullptr";
    
      std::string ret(p);
      // Since `p` is allocated by plugin, free it using plugin's method.
      plugin_memory_free_(p);
      return ret;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
Back to top