Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 741 for mode_ (0.05 sec)

  1. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

        : public PassWrapper<FallbackToFlexOps, OperationPass<func::FuncOp>> {
     public:
      FallbackToFlexOps() = default;
      explicit FallbackToFlexOps(const std::string &mode) { mode_ = mode; }
      FallbackToFlexOps(const FallbackToFlexOps &other) { mode_ = other.mode_; }
    
      void runOnOperation() override;
    
      StringRef getArgument() const final { return "quant-raise-flex-fallback"; }
    
      StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

      """Copies the assets directory of the saved model.
    
      Clones the contents of the assets/ directory from the source saved model
      directory to the destination saved model directory. Nothing will be copied if
      there are no assets directory in the source directory.
    
      Args:
        src_path: Source saved model directory.
        dst_path: Destination saved model directory. This directory must exist.
      """
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    !!! danger
        Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ## Add an output model
    
    We can instead create an input model with the plaintext password and an output model without it:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. pkg/config/model.go

    John Howard <******@****.***> 1716996669 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

        model_ = input_model_->GetModel();
      }
    
      std::unique_ptr<FlatBufferModel> input_model_;
      const Model* model_;
    
      bool IsModelInputOrOutput(const Model* model, uint32_t tensor_idx) {
        for (size_t subgraph_idx = 0; subgraph_idx < model_->subgraphs()->size();
             ++subgraph_idx) {
          const auto subgraph = model->subgraphs()->Get(subgraph_idx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/helper/helpers_test.go

    	}
    
    	modes = GetAccessModesFromString("RWO,ROX,RWX")
    	if !ContainsAccessMode(modes, v1.ReadWriteOnce) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteOnce, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadOnlyMany) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadOnlyMany, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadWriteMany) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. pilot/pkg/xds/bench_test.go

    				}),
    			})
    			proxy := &model.Proxy{
    				Type:            model.SidecarProxy,
    				IPAddresses:     []string{"10.3.3.3"},
    				ID:              "random",
    				ConfigNamespace: "default",
    				Metadata:        &model.NodeMetadata{},
    			}
    			push := s.PushContext()
    			proxy.SetSidecarScope(push)
    			b.ResetTimer()
    			var c model.Resources
    			for n := 0; n < b.N; n++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. pilot/pkg/xds/endpoints/ep_filters_test.go

    	ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    		Configs: c,
    		Services: []*model.Service{{
    			Hostname:   "example.ns.svc.cluster.local",
    			Attributes: model.ServiceAttributes{Name: "example", Namespace: "ns"},
    			Ports:      model.PortList{{Port: 80, Protocol: protocol.HTTP, Name: "http"}},
    		}},
    		Gateways: []model.NetworkGateway{
    			// network1 has only 1 gateway in cluster1a, which will be used for the endpoints
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_tls.go

    	serviceAccounts []string,
    	sni string,
    	autoMTLSEnabled bool,
    	meshExternal bool,
    	serviceMTLSMode model.MutualTLSMode,
    ) (*networking.ClientTLSSettings, mtlsContextType) {
    	if tls != nil {
    		if tls.Mode == networking.ClientTLSSettings_DISABLE || tls.Mode == networking.ClientTLSSettings_SIMPLE {
    			return tls, userSupplied
    		}
    		// For backward compatibility, use metadata certs if provided.
    		if cb.hasMetadataCerts() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_builder_test.go

    		},
    	}
    
    	for _, tt := range tests {
    		proxy := &model.Proxy{
    			Metadata: &model.NodeMetadata{
    				InboundListenerExactBalance:  model.StringBool(tt.useExactBalance),
    				OutboundListenerExactBalance: model.StringBool(tt.useExactBalance),
    			},
    		}
    		listeners := buildListeners(t, TestOptions{Services: testServices}, proxy)
    		if vo := xdstest.ExtractListener(model.VirtualOutboundListenerName, listeners); vo == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top