Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for serializers (0.18 sec)

  1. fastapi/routing.py

            if errors:
                raise ResponseValidationError(
                    errors=_normalize_errors(errors), body=response_content
                )
    
            if hasattr(field, "serialize"):
                return field.serialize(
                    value,
                    include=include,
                    exclude=exclude,
                    by_alias=by_alias,
                    exclude_unset=exclude_unset,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

                        not include that field, the JSON sent to the client would not have
                        that `password`.
                    * Validation: whatever you return will be serialized with the
                        `response_model`, converting any data as necessary to generate the
                        corresponding JSON. But if the data in the object returned is not
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *allTierStats) Msgsize() (s int) {
    	s = 1 + 3 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 100.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    //   tile_assignment_dimensions: 2
    //   tile_assignment_devices: 0
    //   tile_assignment_devices: 1
    // Serialized string:
    //  "\08\03\1A\02\01\02\22\02\00\01"
    //
    // input 1
    //  type: MAXIMAL
    //  tile_assignment_dimensions: 1
    //  tile_assignment_devices: 1
    // Serialized string:
    //  "\08\01\1A\01\01\22\01\01"
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BaseOptions) Msgsize() (s int) {
    	s = 1
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *CheckPartsHandlerParams) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<4x4x4xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @testParseExampleV2DenseOnlyValid
    func.func @testParseExampleV2DenseOnlyValid(%serialized: tensor<32x!tf_type.string>, %names : tensor<32x!tf_type.string>, %dense_keys : tensor<2x!tf_type.string>, %dense_default_0 : tensor<?xf32>, %dense_default_1 : tensor<?xf32>) -> (tensor<32xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

                              const void** buf, size_t* len);
    
    // TODO(josh11b,mrry): Change Session to be able to use a Graph*
    // directly, instead of requiring us to serialize to a GraphDef and
    // call Session::Extend().
    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    };
    
    // Translates an MLIR module in TFLite dialect to TFLite FlatBuffer.
    class Translator {
     public:
      // Translates the given MLIR module into TFLite FlatBuffer format and returns
      // the serialized output. Returns std::nullopt on unsupported, invalid inputs
      // or internal error.
      static std::optional<std::string> Translate(
          ModuleOp module, const toco::TocoFlags& toco_flags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        : Pass<"tf-xla-call-module-serialization", "ModuleOp"> {
      let summary = "Serializes StableHLO functions from top-level module into `tf.XlaCallModule`'s `module` attribute";
    
      let description = [{
        This pass collects StableHLO functions referenced from `tf.XlaCallModule`'s
        `_entry_function` attribute into a module, serializes the module into MLIR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__node.k8s.io__v1_openapi.json

    will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 122.9K bytes
    - Viewed (0)
Back to top