Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for _retval (0.13 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. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    static const char kImportModelDefaultGraphFuncName[] = "main";
    
    // Please refer to the TFG dialect description for the list of used attributes.
    // Belows are the attributes in TFE.
    // TFE Arguments and Results (Got from "_Arg",
    // "_Retval", .etc)
    //  NodeDef.device <-> "tf.device"
    //  NodeDef.attr <-> "tf."
    //
    // TFE general operations
    //  NodeDef.device <-> "device"
    //
    // The following two functions are only used for mapping/excluding attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        mlir::OperationName name = inner_op->getName();
        if (!name.isRegistered() &&
            // Skip unmodelled ops that are handled differently.
            (node_type_name != "_Arg" && node_type_name != "_Retval") &&
            !unmodelled_op_names_.count(name.getIdentifier())) {
          if (node.op_def().is_stateful()) {
            VLOG(1) << "[potentially conservative] Op type `" << node.type_string()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. pkg/test/framework/scope.go

    	}
    
    	for _, res := range s.resources {
    		if res == nil {
    			continue
    		}
    		resVal := reflect.ValueOf(res)
    		if resVal.Type().AssignableTo(targetT) {
    			if refVal.Kind() == reflect.Slice {
    				refVal.Set(reflect.Append(refVal, resVal))
    			} else {
    				refVal.Set(resVal)
    				return nil
    			}
    		}
    	}
    
    	if s.parent != nil {
    		// either didn't find the value or need to continue filling the slice
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 21:55:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

                                  PatternRewriter &rewriter) {
      if (concat.getVal().size() < 2)
        return rewriter.notifyMatchFailure(
            concat, "Concatenate op should have at least two operands");
    
      auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>();
      auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>();
      if (!first || !second)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // CHECK-NEXT:    "tf.IfrtCall"(%arg0, [[ARRAYKEY]]) <{program_id = 6515870160938153680 : i64, variable_arg_indices = [1 : i32]}> {__tpu_compile_metadata_text = "retvals { sharding { } }"} : (tensor<1x3xf32>, tensor<!tf_type.string>) -> tensor<1x1xf32>
    // CHECK-NEXT:    return
    //
     func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top