Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for retval (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

      might become the name of Retval nodes as well (with an index suffix if there
      are multiple output tensors from one node). Since Retval nodes are not used in
      SavedModel, this function removes them and restore the names to the actual
      output tensors.
    
      Args:
        graph_def: the converted GraphDef.
    
      Returns:
        The GraphDef with Retval nodes removed and output tensor names restored.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    				}
    				if retVal, err = util.MergeAnyWithAny(filter.GetTypedConfig(), userFilter.GetTypedConfig()); err != nil {
    					retVal = filter.GetTypedConfig()
    				}
    			}
    			filter.Name = filterName
    			if retVal != nil {
    				filter.ConfigType = &listener.Filter_TypedConfig{TypedConfig: retVal}
    			}
    		}
    	}
    	if filter.Name == wellknown.HTTPConnectionManager {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      for (auto sharding_and_retval :
           llvm::zip(sharding_for_rets, terminator->getOpOperands())) {
        const auto& sharding = std::get<0>(sharding_and_retval);
        OpOperand& retval = std::get<1>(sharding_and_retval);
        if (failed(VerifySharding(retval.get().getType(), sharding)))
          return mlir::failure();
      }
      return mlir::success();
    }
    
    // Assign the logical device if an op has an attribute `TPU_REPLICATED_CORE:n`,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. operator/pkg/verifier/verifier.go

    	if err != nil {
    		return nil, err
    	}
    	retval := make([]*v1alpha1.IstioOperator, 0)
    	for _, un := range ul.Items {
    		fixTimestampRelatedUnmarshalIssues(&un)
    		by := util.ToYAML(un.Object)
    		iop, err := operator_istio.UnmarshalIstioOperator(by, true)
    		if err != nil {
    			return nil, err
    		}
    		retval = append(retval, iop)
    	}
    	return retval, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. pkg/kubelet/container/helpers.go

    // Note: this list must be updated if ever kubelet wants to allow mutations to other fields.
    func pickFieldsToHash(container *v1.Container) map[string]string {
    	retval := map[string]string{
    		"name":  container.Name,
    		"image": container.Image,
    	}
    	return retval
    }
    
    // envVarsToMap constructs a map of environment name to value from a slice
    // of env vars.
    func envVarsToMap(envs []EnvVar) map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
          output_buffer_to_size;
      for (auto retval : llvm::enumerate(old_terminator->getOperands())) {
        auto it = buffer_to_size.find(retval.value());
        if (it == buffer_to_size.end()) continue;
        output_buffer_to_size.emplace_back(retval.index(), new_outputs.size(),
                                           it->getSecond().fixed);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/provision_test.go

    	ctrl, err := newTestController(ctx, nil, nil, false)
    	if err != nil {
    		t.Fatalf("Construct PersistentVolume controller failed: %v", err)
    	}
    	retVal := ctrl.provisionClaim(ctx, nil)
    	if retVal != nil {
    		t.Errorf("Expected nil return but got %v", retVal)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/util/util.go

    	srcX, err := src.UnmarshalNew()
    	if err != nil {
    		return nil, err
    	}
    
    	// Merge the two typed protos
    	merge.Merge(dstX, srcX)
    
    	// Convert the merged proto back to dst
    	retVal := protoconv.MessageToAny(dstX)
    
    	return retVal, nil
    }
    
    // AppendLbEndpointMetadata adds metadata values to a lb endpoint using the passed in metadata as base.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/runtime/cgocall.go

    type argset struct {
    	args   unsafe.Pointer
    	retval uintptr
    }
    
    // wrapper for syscall package to call cgocall for libc (cgo) calls.
    //
    //go:linkname syscall_cgocaller syscall.cgocaller
    //go:nosplit
    //go:uintptrescapes
    func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr {
    	as := argset{args: unsafe.Pointer(&args[0])}
    	cgocall(fn, unsafe.Pointer(&as))
    	return as.retval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_launch_util.cc

      for (int i = 0, end = ctx->num_outputs(); i < end; ++i) {
        const TensorShape& shape = output_tensor_shapes[i];
        const DataType& type = compilation_result->outputs[i].type;
        VLOG(2) << "Populating output for retval " << i << " shape "
                << shape.DebugString() << " type " << DataTypeString(type);
    
        if (compilation_result->outputs[i].is_constant) {
          TF_RETURN_IF_ERROR(SetOutputForConstant(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
Back to top