Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for len_size (0.29 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

              self._emit_with_loc(
                  '\n{} = shape.rank {} : !shape.shape -> !shape.size'.format(
                      len_value, arg), node)
              size_value = self._ssa_name('len_size')
              self._emit_with_loc(
                  '\n{} = shape.size_to_index {} : !shape.size'.format(
                      size_value, len_value), node)
            elif ty == TFRTypes.TENSOR_LIST:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. src/net/http/fs.go

    func rangesMIMESize(ranges []httpRange, contentType string, contentSize int64) (encSize int64) {
    	var w countingWriter
    	mw := multipart.NewWriter(&w)
    	for _, ra := range ranges {
    		mw.CreatePart(ra.mimeHeader(contentType, contentSize))
    		encSize += ra.length
    	}
    	mw.Close()
    	encSize += int64(w)
    	return
    }
    
    func sumRangesSize(ranges []httpRange) (size int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. tensorflow/c/kernels/bitcast_op.cc

                                            s);
      }
    
      if (TF_GetCode(s) == TF_OK) {
        kernel->in_size = TF_DataTypeSize(kernel->input_data_type);
        kernel->out_size = TF_DataTypeSize(kernel->output_data_type);
    
        size_t check_size = std::max(kernel->in_size, kernel->out_size) %
                            std::min(kernel->in_size, kernel->out_size);
        if (check_size != 0) {
          std::ostringstream err;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            int i;
    
            if( len > ( pipe_buf.length - used )) {
                byte[] tmp;
                int new_size;
    
                new_size = pipe_buf.length * 2;
                if( len > ( new_size - used )) {
                    new_size = len + used;
                }
                tmp = pipe_buf;
                pipe_buf = new byte[new_size];
                i = tmp.length - beg_idx;
                if( used > i ) { /* 2 chunks */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    }
    
    TF_Buffer* TF_CoordinationServiceGetKeyValue(const char* key, int64_t key_size,
                                                 TF_CoordinationServiceAgent* agent,
                                                 TF_Status* status) {
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      auto value = cc_agent->GetKeyValue(std::string_view(key, key_size));
      return ProcessGetKeyValueResult(value, status);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // nullptr will be returned.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue(
        const char* key, int64_t key_size, TF_CoordinationServiceAgent* agent,
        TF_Status* status);
    
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValueWithTimeout(
        const char* key, int64_t key_size, int64_t timeout_seconds,
        TF_CoordinationServiceAgent* agent, TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 20:01:06 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MimeMap.java

        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
            InputStream is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/util/mime.map" );
    
            inLen = 0;
            while(( n = is.read( in, inLen, IN_SIZE - inLen )) != -1 ) {
                inLen += n;
            }
            if( inLen < 100 || inLen == IN_SIZE ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. src/math/big/natconv.go

    }
    
    // construct table of powers of bb*leafSize to use in subdivisions.
    func divisors(m int, b Word, ndigits int, bb Word) []divisor {
    	// only compute table when recursive conversion is enabled and x is large
    	if leafSize == 0 || m <= leafSize {
    		return nil
    	}
    
    	// determine k where (bb**leafSize)**(2**k) >= sqrt(x)
    	k := 1
    	for words := leafSize; words < m>>1 && k < len(cacheBase10.table); words <<= 1 {
    		k++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/codegen_test.cc

      variable->set_node_name("myvar_readonly");
      variable->mutable_shape()->add_dim()->set_size(1);
      variable->set_type(DT_FLOAT);
      variable->set_readonly(true);
      tf2xla::Variable* variable2 = config.add_variable();
      variable2->set_node_name("myvar");
      variable2->mutable_shape()->add_dim()->set_size(1);
      variable2->set_type(DT_FLOAT);
      tf2xla::Variable* variable3 = config.add_variable();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

          }
          size += tensor_type.getNumElements() *
                  tensor_type.getElementType().getIntOrFloatBitWidth();
        }
        return size;
      };
    
      int64_t results_size = get_size(inst->getResultTypes());
      int64_t operands_size = get_size(inst->getOperandTypes());
    
      constexpr int kSizeFactor = 2;
    // TODO(b/233827625): Remove TF_DISABLE_CONSTANT_FOLDING macro.
    #ifdef TF_DISABLE_CONSTANT_FOLDING
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top