Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for _retval0 (0.18 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

        func.func @main(%arg0: tensor<3x3x10xbf16>, %arg1: tensor<3xi32>) -> tensor<1x?x4xbf16> attributes {allow_soft_placement = false, tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0"}} {
          %cst = "tf.Const"() {value = dense<[1, -1, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // CHECK-SAME: %[[STATE:.*]]: tensor<2xui64>
    func.func @xla_rng_bit_generator(%arg0: tensor<2xui64>) -> (tensor<2xui64>, tensor<10x12xui32>) attributes {tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0,_retval1"}} {
      // CHECK-NEXT: %0 = mhlo.constant dense<[10, 12]> : tensor<2xi32>
      %cst = "tf.Const"() {value = dense<[10, 12]> : tensor<2xi32>} : () -> tensor<2xi32>
      // CHECK-NEXT: %1 = mhlo.constant dense<3> : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. tensorflow/c/eager/c_api.cc

                                 int* num_retvals) override {
        std::vector<TFE_TensorHandle*> outputs(*num_retvals);
        TF_Status status;
        device_.execute(tensorflow::wrap(op), num_retvals, outputs.data(), &status,
                        info_);
        if (status.status.ok()) {
          for (int i = 0; i < *num_retvals; ++i) {
            retvals[i] = tensorflow::unwrap(outputs[i]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    }
    
    Status MlirAbstractOp::Execute(absl::Span<AbstractTensorHandle*> retvals,
                                   int* num_retvals) {
      OperationState* state;
      TF_RETURN_IF_ERROR(Create(operands_, &state));
      Operation* op = function_context_->CreateOperationFromState(*state);
      *num_retvals = op->getNumResults();
      for (int i = 0; i < *num_retvals; i++)
        retvals[i] = new MlirTensor(op->getResult(i));
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K 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