Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for tx_status (0.29 sec)

  1. src/database/sql/fakedb_test.go

    				}
    			}
    		}
    		if s.table == "tx_status" && s.colName[0] == "tx_status" {
    			txStatus := "autocommit"
    			if s.c.currTx != nil {
    				txStatus = "transaction"
    			}
    			cursor := &rowsCursor{
    				db:        s.c.db,
    				parentMem: s.c,
    				posRow:    -1,
    				rows: [][]*row{
    					{
    						{
    							cols: []any{
    								txStatus,
    							},
    						},
    					},
    				},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      absl::Status cc_status;
      if (var_info == nullptr) {
        cc_status = absl::InvalidArgumentError("TF_VariableInfo is NULL.");
        status->status = cc_status;
        return nullptr;
      }
      if (var_info->var_info.var() == nullptr) {
        cc_status = absl::InvalidArgumentError(
            "VariableInfo does not track a resource variable.");
        status->status = cc_status;
        return nullptr;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/c/ops.cc

                                     TF_Status* status)) {
      auto* cc_builder = reinterpret_cast<OpDefBuilder*>(builder);
      cc_builder->SetShapeFn(
          [shape_inference_func](InferenceContext* ctx) -> tensorflow::Status {
            TF_Status* c_status = TF_NewStatus();
            auto c_ctx = reinterpret_cast<TF_ShapeInferenceContext*>(ctx);
            shape_inference_func(c_ctx, c_status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 28 22:41:35 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/c/kernels.cc

                                                       TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      tensorflow::NameAttrList function;
      auto cc_status = cc_ctx->GetAttr(attr_name, &function);
      if (!cc_status.ok()) {
        tsl::Set_TF_Status_from_Status(status, cc_status);
        return nullptr;
      }
      TF_Buffer* buffer = TF_NewBuffer();
      cc_status = tensorflow::MessageToBuffer(function, buffer);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/grappler/grappler.cc

      params.patch_version = GO_PATCH;
      params.optimizer = &optimizer;
      params.optimizer_configs = &optimizer_configs;
    
      OwnedTFStatus c_status(TF_NewStatus());
      init_fn(&params, c_status.get());
      TF_RETURN_IF_ERROR(tsl::StatusFromTF_Status(c_status.get()));
      TF_RETURN_IF_ERROR(ValidateTPOptimizerRegistrationParams(params));
      TF_RETURN_IF_ERROR(ValidateTPOptimizer(optimizer));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

          return tensorflow::CustomDeviceTensorHandle::SummarizeValue(summary);
        }
        TF_Status c_status;
        std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> summary_buffer(
            methods_.summarize(data_, &c_status), TF_DeleteBuffer);
        if (!c_status.status.ok()) {
          return c_status.status;
        }
        summary = std::string(reinterpret_cast<const char*>(summary_buffer->data),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. tensorflow/c/kernels_experimental.cc

      }
    
      TF_SetStatus(tf_status, TF_OK, "");
    }
    
    void TF_DestroyTemporaryVariable(TF_OpKernelContext* ctx, const int index,
                                     TF_StringView* var_name,
                                     TF_Status* tf_status) {
      auto* context = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      if (!IsRefType(context->input_dtype(0))) {
        tf_status->status =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/stream_executor/stream_executor.cc

        if (TF_GetCode(c_status.get()) != TF_OK) {
          LOG(ERROR) << TF_Message(c_status.get());
        }
        return StatusFromTF_Status(c_status.get());
      }
      bool MemcpyDeviceToDevice(Stream* stream, DeviceMemoryBase* gpu_dst,
                                const DeviceMemoryBase& gpu_src,
                                uint64 size) override {
        OwnedTFStatus c_status(TF_NewStatus());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. tensorflow/c/tf_tensor.cc

    }
    
    void TF_TensorBitcastFrom(const TF_Tensor* from, TF_DataType type,
                              TF_Tensor* to, const int64_t* new_dims,
                              int num_new_dims, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      Status cc_status(
          tensorflow::down_cast<tensorflow::TensorInterface*>(to->tensor)
              ->BitcastFrom(
                  *tensorflow::down_cast<const tensorflow::TensorInterface*>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

                       TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      size_t r = fwrite(buffer, 1, n, posix_file->handle);
      if (r != n)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top