Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg.mlir

        // CHECK: tf_executor.island wraps "tf._Retval"(%outputs_0) {T = !tf_type.resource, _mlir_name = "func_call", index = 0 : i64} : (tensor<*x!tf_type.resource>) -> ()
        %ctl_1 = _Retval(%test_func_name0) name("func_call") {T = !tf_type.resource, index = 0 : i64} : tensor<*x!tf_type.resource>
        // CHECK: tf_executor.fetch
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compile_util.cc

        TF_RETURN_IF_ERROR(status);
        graph->AddEdge(node, 0, main_node, i);
      }
    
      // Similarly with return values, create dummy _Retval nodes fed by `node`.
      for (int64_t i = 0, end = result_types.size(); i < end; ++i) {
        Node* node;
        string retval_name = absl::StrCat("_retval", i);
        Status status = NodeBuilder(retval_name, FunctionLibraryDefinition::kRetOp)
                            .Input(main_node, i)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/unified_api_testutil.cc

        for (auto input : inputs) {
          TF_RETURN_IF_ERROR(fn_op->AddInput(input));
        }
        int retvals = outputs.size() - null_indices.size();
        std::vector<AbstractTensorHandle*> fn_outputs(retvals);
        TF_RETURN_IF_ERROR(fn_op->Execute(
            absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()),
            &retvals));
        int skipped_indices = 0;
        for (int i = 0; i < outputs.size(); i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. plugin/pkg/admission/security/podsecurity/admission.go

    		// start with a generic forbidden error
    		retval := admission.NewForbidden(a, errors.New("Not allowed by PodSecurity")).(*apierrors.StatusError)
    		// use message/reason/details/code from admission library if populated
    		if result.Result != nil {
    			if len(result.Result.Message) > 0 {
    				retval.ErrStatus.Message = result.Result.Message
    			}
    			if len(result.Result.Reason) > 0 {
    				retval.ErrStatus.Reason = result.Result.Reason
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 08:49:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
            return retVal != null ? retVal : NONE;
        }
    
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    Status TapeOperation::Execute(absl::Span<AbstractTensorHandle*> retvals,
                                  int* num_retvals) {
      TF_RETURN_IF_ERROR(parent_op_->Execute(retvals, num_retvals));
      for (int i = 0; i < *num_retvals; i++) {
        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_.outputs.push_back(retvals[i]);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/istio.go

    			}
    			retVal = thisVal
    		case 3: // match something like aaa[100]
    			thisVal := val[match[1]]
    			// If it is a list and looking for more down the path
    			if thisVal.GetListValue() != nil && len(path) > 1 {
    				index, _ := strconv.Atoi(match[2])
    				return getConfigValue(path[1:], thisVal.GetListValue().Values[index].GetStructValue().Fields)
    			}
    			retVal = thisVal
    		}
    	}
    	return retVal
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir

          // CHECK-NEXT: }
    
          tf_executor.fetch %outputs_10#0 : tensor<?x2xi64>
        }
        func.return %0#0 : tensor<?x2xi64>
        // CHECK:      name: "ParseExample/ParseExampleV2"
        // CHECK-NEXT: op: "_Retval"
        // CHECK-NEXT: input: "ParseExample"
    
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/pjrt_compile_util_test.cc

      auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0);
      auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
      auto c = ops::Add(scope.WithOpName("C"), a, b);
      auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
      return graph;
    }
    
    StatusOr<FunctionDef> SampleFuntionAddXY(const std::string& name) {
      TF_ASSIGN_OR_RETURN(auto graph, SampleGraphAddXY());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 21 23:21:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top