Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 296 for isInitialized (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

      return success();
    }
    
    bool VariableIsInitialized(TF::VarHandleOp var_handle_op) {
      auto is_variable_initialized =
          var_handle_op->getAttrOfType<BoolAttr>("_is_initialized");
      // Assume variable is initialized if attribute is not set.
      // There are paths that doesn't mark the variables. All variables
      // that doesn't have the attribute will be promoted.
      return !is_variable_initialized || is_variable_initialized.getValue();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/http/listener.go

    			continue
    		}
    
    		if opts.Trace != nil {
    			opts.Trace(fmt.Sprint("adding listener to ", l.Addr()))
    		}
    
    		listeners = append(listeners, l)
    	}
    
    	if len(listeners) == 0 {
    		// No listeners initialized, no need to continue
    		return
    	}
    
    	listener = &httpListener{
    		listeners: listeners,
    		acceptCh:  make(chan acceptResult, len(listeners)),
    		opts:      opts,
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    //
    // A typical example is unidirectional_sequence_lstm have two variable tensor
    // inputs: activation state & cell state. They may have same initial values
    // (typical zero-initialized), but their values will be changed. So we cannot
    // just merge those values.
    //
    // This pass is more like short-term workaround since we don't have a good
    // variable representation right now.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/op_or_arg_name_mapper.cc

          op_or_val, StringRefToView(it.first->first()));
      (void)inserted;
      // TODO(jpienaar): Debug cases where we expect this behavior.
      // assert(inserted.second && "op_or_val already initialized");
      return it.first->second++;
    }
    
    bool OpOrArgNameMapper::IsUnique(llvm::StringRef name) { return true; }
    
    std::string OpOrArgLocNameMapper::GetName(OpOrVal op_or_val) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    	}
    }
    
    // IsOnline always true in case of console logger
    func (sys *HTTPConsoleLoggerSys) IsOnline(_ context.Context) bool {
    	return true
    }
    
    // SetNodeName - sets the node name if any after distributed setup has initialized
    func (sys *HTTPConsoleLoggerSys) SetNodeName(nodeName string) {
    	if !globalIsDistErasure {
    		sys.nodeName = ""
    		return
    	}
    
    	host, err := xnet.ParseHost(globalLocalNodeName)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/bucket-encryption-handlers.go

    			HTTPStatusCode: errorCodes[ErrMalformedXML].HTTPStatusCode,
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	// Return error if KMS is not initialized
    	if GlobalKMS == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    	kmsKey := encConfig.KeyID()
    	if kmsKey != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    				fmt.Errorf("Error processing %s parameter: %v", stsRoleArn, err))
    			return
    		}
    	}
    
    	if !globalIAMSys.Initialized() {
    		writeSTSErrorResponse(ctx, w, ErrSTSIAMNotInitialized, errIAMNotInitialized)
    		return
    	}
    
    	// Validate JWT; check clientID in claims matches the one associated with the roleArn
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. cmd/metrics.go

    // Populates prometheus with bucket usage metrics, this metrics
    // is only enabled if scanner is enabled.
    func bucketUsageMetricsPrometheus(ch chan<- prometheus.Metric) {
    	objLayer := newObjectLayerFn()
    	// Service not initialized yet
    	if objLayer == nil {
    		return
    	}
    
    	dataUsageInfo, err := loadDataUsageFromBackend(GlobalContext, objLayer)
    	if err != nil {
    		return
    	}
    	// data usage has not captured any data yet.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/deltatest.go

    	usedDelta bool,
    	delta model.ResourceDelta,
    	incremental bool,
    ) {
    	current := con.proxy.GetWatchedResource(w.TypeUrl).LastResources
    	if current == nil {
    		log.Debugf("ADS:%s: resources initialized", v3.GetShortType(w.TypeUrl))
    		return
    	}
    	if deltaRes == nil && deleted == nil && len(sotwRes) == 0 {
    		// TODO: it suspicious full is never nil - are there case where we should be deleting everything?
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/plugins.go

    	allPlugins := []volume.VolumePlugin{}
    
    	// The list of plugins to probe is decided by this binary, not
    	// by dynamic linking or other "magic".  Plugins will be analyzed and
    	// initialized later.
    
    	// Each plugin can make use of VolumeConfig.  The single arg to this func contains *all* enumerated
    	// options meant to configure volume plugins.  From that single config, create an instance of volume.VolumeConfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top