Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for internalError (0.48 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      }
    
      Method quantization_method;
      const std::string method_txtpb = quantization_method_attr.getValue().str();
      if (!TextFormat::ParseFromString(method_txtpb, &quantization_method)) {
        return absl::InternalError(
            absl::StrCat("Failed to parse Method from textproto: ", method_txtpb));
      }
    
      return quantization_method;
    }
    
    Method GetQuantizationMethodOrDefault(absl::Nonnull<Operation*> op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.cc

          uint64 size) override {
        auto* buffer = stream_executor_->host_memory_allocate(&device_, size);
        if (buffer == nullptr && size > 0) {
          return absl::InternalError(
              absl::StrFormat("Failed to allocate HostMemory of size %d", size));
        }
        return std::make_unique<HostMemoryAllocation>(buffer, size, this);
      }
    
      void HostMemoryDeallocate(void* mem) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

        AbstractTensorHandlePtr owned_resource_handle(resource_handle);
        if (!tensorflow::isa<ImmediateExecutionTensorHandle>(
                owned_resource_handle.get())) {
          return absl::InternalError("Unexpected tensor handle kind.");
        }
        ImmediateTensorHandlePtr result(
            reinterpret_cast<ImmediateExecutionTensorHandle*>(
                owned_resource_handle.release()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        ```Python hl_lines="15"
        {!> ../../../docs_src/dependencies/tutorial008d.py!}
        ```
    
    Now the client will get the same *HTTP 500 Internal Server Error* response, but the server will have our custom `InternalError` in the logs. 😎
    
    ## Execution of dependencies with `yield`
    
    The sequence of execution is more or less like this diagram. Time flows from top to bottom. And each column is one of the parts interacting or executing code.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/config/analysis/msg/messages.yaml

    # Please keep entries ordered by code.
    # NOTE: The range 0000-0100 is reserved for internal and/or future use.
    messages:
      - name: "InternalError"
        code: IST0001
        level: Error
        description: "There was an internal error in the toolchain. This is almost always a bug in the implementation."
        template: "Internal error: %v"
        args:
          - name: detail
            type: string
    
      - name: "Deprecated"
        code: IST0002
        level: Warning
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/compress/flate/huffman_bit_writer.go

    			n = 0
    		}
    		w.nbytes = n
    	}
    }
    
    func (w *huffmanBitWriter) writeBytes(bytes []byte) {
    	if w.err != nil {
    		return
    	}
    	n := w.nbytes
    	if w.nbits&7 != 0 {
    		w.err = InternalError("writeBytes with unfinished bits")
    		return
    	}
    	for w.nbits != 0 {
    		w.bytes[n] = byte(w.bits)
    		w.bits >>= 8
    		w.nbits -= 8
    		n++
    	}
    	if n != 0 {
    		w.write(w.bytes[:n])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    				if len(outputQueue) < cap(outputQueue) {
    					continue
    				}
    
    				if !sendRecord() {
    					break OuterLoop
    				}
    			}
    		}
    	}
    
    	if err != nil {
    		_ = writer.FinishWithError("InternalError", err.Error())
    	}
    }
    
    // Close - closes opened S3 object.
    func (s3Select *S3Select) Close() error {
    	if s3Select.recordReader == nil {
    		return nil
    	}
    	return s3Select.recordReader.Close()
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

                              OpShardingVector& shardings) {
      shardings.clear();
      for (auto& sharding : optional_shardings) {
        if (!sharding) {
          return absl::InternalError(
              "Couldn't find/assign sharding for an input/output. All shardings "
              "should have been identified by this point.");
        }
    
        shardings.push_back(std::move(sharding.value()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/kernels/xla_ops.cc

        xla::LocalExecutable** executable) {
      // We store information about the JIT-compiled XLA computation
      // in the ResourceMgr.
      ResourceMgr* rm = ctx->resource_manager();
      if (!rm) {
        return absl::InternalError("No resource manager.");
      }
    
      TF_ASSIGN_OR_RETURN(DeviceType compilation_device_type,
                          GetCompilationDeviceType(platform_info.device_type()));
    
      XlaDeviceCompiler* xla_device_compiler;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        internal val reader: Http2Reader,
      ) : Http2Reader.Handler, () -> Unit {
        override fun invoke() {
          var connectionErrorCode = ErrorCode.INTERNAL_ERROR
          var streamErrorCode = ErrorCode.INTERNAL_ERROR
          var errorException: IOException? = null
          try {
            reader.readConnectionPreface(this)
            while (reader.nextFrame(false, this)) {
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top