Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 503 for weights (0.31 sec)

  1. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

        }
        storage_type = mlir::cast<mlir::IntegerType>(raw_elem_type);
      }
    
      // TFlite uses narrow-range [u]int8 for constant buffers of quantized weights.
      // Since we don't know which ones are weights, we represent this optimization
      // as a change in the storage bounds for the type for all constants of this
      // type.
      const int bitwidth = storage_type.getIntOrFloatBitWidth();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/parse.go

    			continue
    		}
    
    		entry, weight := split(entry, ';')
    
    		// Scan the language.
    		t, err := Parse(entry)
    		if err != nil {
    			id, ok := acceptFallback[entry]
    			if !ok {
    				return nil, nil, err
    			}
    			t = makeTag(language.Tag{LangID: id})
    		}
    
    		// Scan the optional weight.
    		w := 1.0
    		if weight != "" {
    			weight = consume(weight, 'q')
    			weight = consume(weight, '=')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/networkfilter_test.go

    						Port:   &networking.PortSelector{Number: 443},
    						Subset: "prod",
    					},
    					Weight: 75,
    				},
    				{
    					Destination: &networking.Destination{
    						Host:   "example-canary.com",
    						Port:   &networking.PortSelector{Number: 443},
    						Subset: "canary",
    					},
    					Weight: 25,
    				},
    			},
    		},
    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

      OpSet op_set_;
    
      Option<bool> enable_per_channel_quantization_{
          *this, "enable-per-channel-quantization", llvm::cl::init(false),
          llvm::cl::desc("Whether enable per-channel quantized weights.")};
    };
    
    // If the weight is applicable to dynamic range quantization, insert Quantize
    // and Dequantize ops with per-tensor scale.
    class PrepareDRQQuantizableOp : public OpRewritePattern<arith::ConstantOp> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      SPARSE = 1,
      DENSE = 2,
    }
    
    table LSHProjectionOptions {
      type: LSHProjectionType;
    }
    
    table SVDFOptions {
      rank:int;
      fused_activation_function:ActivationFunctionType;
      // For weights-only quantization, use asymmetric quantization for non
      // constant inputs at evaluation time.
      asymmetric_quantize_inputs:bool;
    }
    
    // An implementation of TensorFlow RNNCell.
    table RNNOptions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      // NoFusing-LABEL: FuseMulWithFullyConnectedNoBias
      // NoFusing-DAG: %[[MWEIGHTS:.*]] = arith.constant dense<2.000000e+00> : tensor<512xf32>
      // NoFusing-DAG: %[[WEIGHTS:.*]] = arith.constant dense<3.000000e+00> : tensor<1024x512xf32>
      // NoFusing-DAG: %[[BIAS:.*]] = "tfl.no_value"() <{value}> : () -> none
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

              &q_builder, input_model, quantized_type, use_updated_hybrid_scheme,
              ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) {
        return absl::InvalidArgumentError(
            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
          std::string(reinterpret_cast<const char*>(q_buffer), q_builder.GetSize());
    
      return absl::OkStatus();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.h

    // This is a helper function which acquires mutexes in-order to provide
    // thread-safe way of performing weights update during the optimizer op. It
    // returns an opaque LockHolder handle back to plugin. This handle is passed to
    // the Release API for releasing the locks when the weight update is done. The
    // caller takes ownership of the `source` and `dest` tensors and is responsible
    // for freeing them with TF_DeleteTensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/body-nested-models.md

    !!! tip
        โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ ๐ŸŽป ๐Ÿ•ด ๐Ÿ•โ€๐Ÿฆบ `str` ๐Ÿ”‘.
    
        โœ‹๏ธ Pydantic โœ”๏ธ ๐Ÿง ๐Ÿ’ฝ ๐Ÿ› ๏ธ.
    
        ๐Ÿ‘‰ โ›“ ๐Ÿ‘ˆ, โœ‹๏ธ ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ’ช ๐Ÿ•ด ๐Ÿ“จ ๐ŸŽป ๐Ÿ”‘, ๐Ÿ“ ๐Ÿ‘ˆ ๐ŸŽป ๐Ÿ”Œ ๐Ÿ˜ ๐Ÿ”ข, Pydantic ๐Ÿ”œ ๐Ÿ—œ ๐Ÿ‘ซ &amp; โœ” ๐Ÿ‘ซ.
    
         &amp; `dict` ๐Ÿ‘† ๐Ÿ“จ `weights` ๐Ÿ”œ ๐Ÿค™ โœ”๏ธ `int` ๐Ÿ”‘ &amp; `float` ๐Ÿ’ฒ.
    
    ## ๐ŸŒƒ
    
    โฎ๏ธ **FastAPI** ๐Ÿ‘† โœ”๏ธ ๐Ÿ”† ๐Ÿ’ช ๐Ÿšš Pydantic ๐Ÿท, โช ๐Ÿšง ๐Ÿ‘† ๐Ÿ“Ÿ ๐Ÿ™…, ๐Ÿ“ &amp; ๐Ÿ˜.
    
    โœ‹๏ธ โฎ๏ธ ๐ŸŒ ๐Ÿ’ฐ:
    
    * ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ•โ€๐Ÿฆบ (๐Ÿ› ๏ธ ๐ŸŒ โ—)
    * ๐Ÿ’ฝ ๐Ÿ› ๏ธ (.โ“‚.. โœ / ๐Ÿ› ๏ธ)
    * ๐Ÿ’ฝ ๐Ÿ”ฌ
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-nested-models.md

        Isso significa que, embora os clientes da API sรณ possam enviar strings como chaves, desde que essas strings contenham inteiros puros, o Pydantic irรก convertรช-los e validรก-los.
    
        E o `dict` que vocรช recebe como `weights` terรก, na verdade, chaves `int` e valores` float`.
    
    ## Recapitulaรงรฃo
    
    Com **FastAPI** vocรช tem a flexibilidade mรกxima fornecida pelos modelos Pydantic, enquanto seu cรณdigo รฉ mantido simples, curto e elegante.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top