Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,204 for registry_ (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

    class LowerClusterToRuntimeOpsTest : public ::testing::Test {
     public:
      LowerClusterToRuntimeOpsTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
    
        env_ = Env::Default();
        test_group_name_ = "TestGroup";
        test_dir_ = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/array_grad_test.cc

        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
        x2.reset(x2_raw);
      }
    
      status_ = registry_.Register("IdentityN", IdentityNRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
      auto IdentityNGradModel = BuildGradModel(IdentityNModel, registry_);
    
      std::vector<AbstractTensorHandle*> outputs(2);
      status_ =
          RunModel(IdentityNGradModel, immediate_execution_ctx_.get(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/gradients.cc

    };
    
    SymbolicGradientBuilder::SymbolicGradientBuilder(
        const Scope& scope, const ops::GradOpRegistry* registry,
        const std::vector<Output>& outputs, const std::vector<Output>& inputs,
        const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs)
        : scope_(scope),
          registry_(registry),
          outputs_(outputs),
          inputs_(inputs),
          grad_inputs_(grad_inputs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.cc

    Status GradientRegistry::Register(
        const string& op_name, GradientFunctionFactory gradient_function_factory) {
      auto iter = registry_.find(op_name);
      if (iter != registry_.end()) {
        const string error_msg = "Gradient already exists for op: " + op_name + ".";
        return errors::AlreadyExists(error_msg);
      }
      registry_.insert({op_name, gradient_function_factory});
      return absl::OkStatus();
    }
    Status GradientRegistry::Lookup(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    namespace tensorflow {
    namespace gradients {
    TapeOperation::TapeOperation(AbstractOperation* parent_op, Tape* tape,
                                 const GradientRegistry& registry)
        : AbstractOperation(kTape),
          parent_op_(parent_op),
          tape_(tape),
          registry_(registry) {
      // TODO(b/172003047): Consider making AbstractOperation RefCounted.
      // parent_op_->Ref();
    }
    void TapeOperation::Release() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/registry.go

    	}
    }
    
    // Registry is a collection of all available plugins. The framework uses a
    // registry to enable and initialize configured plugins.
    // All plugins must be in the registry before initializing the framework.
    type Registry map[string]PluginFactory
    
    // Register adds a new plugin to the registry. If a plugin with the same name
    // exists, it returns an error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/registry.go

    	"k8s.io/kubernetes/pkg/scheduler/framework/runtime"
    )
    
    // NewInTreeRegistry builds the registry with all the in-tree plugins.
    // A scheduler that runs out of tree plugins can register additional plugins
    // through the WithFrameworkOutOfTreeRegistry option.
    func NewInTreeRegistry() runtime.Registry {
    	fts := plfeature.Features{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/util/image/registry.go

    	"github.com/google/go-containerregistry/pkg/v1/remote"
    	"github.com/google/go-containerregistry/pkg/v1/remote/transport"
    )
    
    // Exists returns true if the image in the argument exists in a container registry.
    // The argument must be a complete image name, e.g. "gcr.io/istio-release/pilot:1.20.0".
    // If the image does not exist, it returns false and an optional error message, for debug purposes.
    func Exists(image string) (bool, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 16:28:36 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	}
    	registry1 := serviceregistry.Simple{
    		ProviderID:          provider.ID("mockAdapter1"),
    		DiscoveryController: discovery1,
    	}
    
    	registry2 := serviceregistry.Simple{
    		ProviderID:          provider.ID("mockAdapter2"),
    		DiscoveryController: discovery2,
    	}
    
    	ctls := NewController(Options{&mockMeshConfigHolder{}})
    	ctls.AddRegistry(registry1)
    	ctls.AddRegistry(registry2)
    
    	return ctls
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/registry_test.go

    func isRegistryEqual(registryX, registryY Registry) bool {
    	for name, pluginFactory := range registryY {
    		if val, ok := registryX[name]; ok {
    			p1, _ := pluginFactory(nil, nil, nil)
    			p2, _ := val(nil, nil, nil)
    			if p1.Name() != p2.Name() {
    				// pluginFactory functions are not the same.
    				return false
    			}
    		} else {
    			// registryY contains an entry that is not present in registryX
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top