Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for _retval (0.19 sec)

  1. 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)
  2. tensorflow/c/eager/c_api_test.cc

      TF_SetStatus(status, TF_OK, "");
      if (retvals[0] != nullptr) {
        TFE_DeleteTensorHandle(retvals[0]);
      }
      retvals[0] = nullptr;
      TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_DeleteTensor(t);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          "XlaVariadicReduce",
          "XlaVariadicReduceV2",
          "XlaVariadicSort",
          "XlaWhile",
          "Zeta",
          "_Arg",
          "_ArrayToList",
          "_ListToArray",
          "_Retval"};
      return result;
    }
    
    }  // namespace testing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

    }
    
    Node* RetOp(int index, ops::NodeOut a, const GraphDefBuilder::Options& opts) {
      if (opts.HaveError()) return nullptr;
      NodeBuilder node_builder(opts.GetNameForOp("Retval"), "_Retval",
                               opts.op_registry());
      node_builder.Input(std::move(a)).Attr("index", index);
      return opts.FinalizeBuilder(&node_builder);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K 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. istioctl/pkg/injector/injector-list.go

    	}
    	for _, pod := range pods.Items {
    		retval[resource.Namespace(pod.GetNamespace())] = append(retval[resource.Namespace(pod.GetNamespace())], pod)
    	}
    	return retval, nil
    }
    
    // getInjectedImages() returns a map of revision->dockerimage
    func getInjectedImages(ctx context.Context, client kube.CLIClient) (map[string]string, error) {
    	retval := map[string]string{}
    
    	// All configs in all namespaces that are Istio revisioned
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            }
    
            def process = ["ls", "-ld", file.absolutePath].execute()
            def result = process.inputStream.text
            def error = process.errorStream.text
            def retval = process.waitFor()
            if (retval != 0) {
                throw new RuntimeException("Could not list permissions for '$file': $error")
            }
            def perms = result.split()[0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. 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)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                            if (subResult != null) {
                                retVal += subResult;
                            } else {
                                retVal += "$" + expr.substring(index + 1, lastIndex + 1);
                            }
                        }
    
                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. 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)
Back to top