Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for _retval (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. istioctl/pkg/multixds/gather.go

    	retval := discovery.DiscoveryResponse{}
    	if len(responses) == 0 {
    		return &retval, nil
    	}
    
    	for _, response := range responses {
    		// Combine all the shards as one, even if that means losing information about
    		// the control plane version from each shard.
    		retval.ControlPlane = response.ControlPlane
    		retval.Resources = append(retval.Resources, response.Resources...)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K 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. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.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 Oct 17 17:55:08 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_TensorHandle* retvals[1] = {nullptr};
      int num_retvals = 1;
      TFE_Execute(func, &retvals[0], &num_retvals, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      ASSERT_EQ(1, num_retvals);
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteTensorHandle(retvals[0]);
      float sum = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/c/eager/c_api_experimental_test.cc

        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
        TFE_TensorHandle* retvals[1];
        int num_retvals = 1;
        TFE_Execute(shape_op, &retvals[0], &num_retvals, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
        device_type = TFE_TensorHandleDeviceType(retvals[0], status.get());
        ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
Back to top