Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for down_cast (0.18 sec)

  1. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      if (!status.ok()) {
        CHECK_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi()));
      }
      auto pjrt_client = xla::GetCApiClient(DEVICE_CPU);
      CHECK_OK(pjrt_client.status());
      auto c_api_client = down_cast<xla::PjRtCApiClient*>(pjrt_client->get());
      std::vector<int32_t> data(1, 0);
      xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1});
    
      auto buffer = c_api_client->pjrt_c_client()->client->BufferFromHostBuffer(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        if (!t) {
          return tensorflow::errors::InvalidArgument(
              "Unable to cast input to GraphTensor");
        }
        inputs_.push_back(t->output_);
        *output = tensorflow::down_cast<TracingTensorHandle*>(outputs[0]);
        return absl::OkStatus();
      }
    
      Status Finalize(OutputList* outputs, AbstractFunction** f) override {
        std::vector<TF_Output> graph_outputs;
    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)
  3. tensorflow/c/eager/c_api_experimental.cc

          // One of the inputs we're trying to pack is on a custom device. We'll let
          // the first custom device we see handle all of the packing.
          auto* custom_device_handle =
              tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                  unwrapped_handle);
          tensorflow::ImmediateExecutionTensorHandle* result;
          status->status = custom_device_handle->device()->Pack(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api.cc

          tensorflow::unwrap(h);
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
      if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
        return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                   unwrapped_handle)
            ->DevicePointer();
      }
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
    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)
  5. tensorflow/c/c_api.cc

      tensorflow::TensorProto from_tensor_proto;
      status->status = BufferToMessage(from, &from_tensor_proto);
      if (!status->status.ok()) {
        return;
      }
      status->status =
          tensorflow::down_cast<tensorflow::TensorInterface*>(to->tensor)
              ->FromProto(from_tensor_proto);
    }
    // --------------------------------------------------------------------------
    
    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)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoBhv.java

        @Override
        public CrawlingInfoCB newConditionBean() {
            return new CrawlingInfoCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public CrawlingInfo selectEntityWithDeletedCheck(CBCall<CrawlingInfoCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsbhv/BsRoleBhv.java

        }
    
        @Override
        public RoleCB newConditionBean() {
            return new RoleCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public Role selectEntityWithDeletedCheck(CBCall<RoleCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsBoostDocumentRuleBhv.java

        public BoostDocumentRuleCB newConditionBean() {
            return new BoostDocumentRuleCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public BoostDocumentRule selectEntityWithDeletedCheck(CBCall<BoostDocumentRuleCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

        @Override
        public DataConfigCB newConditionBean() {
            return new DataConfigCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public DataConfig selectEntityWithDeletedCheck(CBCall<DataConfigCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

        @Override
        public JobLogCB newConditionBean() {
            return new JobLogCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public JobLog selectEntityWithDeletedCheck(CBCall<JobLogCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top