Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for node_def (0.23 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    FunctionDef PassThroughResource() {
      return FunctionDefHelper::Define(
          /*function_name=*/"PassThroughResource",
          /*arg_def=*/{"in: resource"},
          /*ret_def=*/{"out: resource"},
          /*attr_def=*/{},
          /*node_def=*/
          {{{"out"}, "Identity", {"in"}, {{"T", DataType::DT_RESOURCE}}}});
    }
    
    TEST(IsSupportedByNonReplicatedBridge, NonReplicatedGraph) {
      const FunctionDef& fd = PassThroughResource();
      FunctionDefLibrary flib;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

    )
    
    
    def _is_variable(node_def: node_def_pb2.NodeDef) -> bool:
      """Determines whether `node_def` is a variable node.
    
      Args:
        node_def: `NodeDef` to test whether it is a variable or not.
    
      Returns:
        Returns True if it is a variable.
      """
      return node_def.op == 'VarHandleOp'
    
    
    def _find_variables(
        graph_def: graph_pb2.GraphDef,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/framework/graph_to_functiondef.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/framework/tensor.pb.h"  // NOLINT
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/graph/graph.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

    #include "tensorflow/compiler/mlir/tensorflow/translate/mlir_import_options.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    #include "tensorflow/core/protobuf/saver.pb.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

            node.op.startswith('FakeQuant') for node in meta_graph.graph_def.node
        ):
          return True
        for function in meta_graph.graph_def.library.function:
          if any(node.op.startswith('FakeQuant') for node in function.node_def):
            return True
      return False
    
    
    def _serialize_signature_def_map(
        signature_def_map: _SignatureDefMap,
    ) -> dict[str, bytes]:
      """Serializes SignatureDef values in `signature_def_map`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

          for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
            Node* const node = graph.FindNodeId(id);
            if (node != nullptr && node->IsOp()) {
              NodeDef* const node_def = graph_def.add_node();
              *node_def = node->def();
            }
          }
          *graph_def.mutable_library() = graph.flib_def().ToProto();
          if (flags::Global().more_stack_traces.value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. pkg/kubelet/network/dns/dns_test.go

    		strings.Repeat("A", 127),
    	}
    
    	recorder := record.NewFakeRecorder(20)
    	nodeRef := &v1.ObjectReference{
    		Kind:      "Node",
    		Name:      string("testNode"),
    		UID:       types.UID("testNode"),
    		Namespace: "",
    	}
    	testClusterDNSDomain := "TEST"
    
    	configurer := NewConfigurer(recorder, nodeRef, nil, nil, testClusterDNSDomain, "")
    
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    			fakeRecorder := &record.FakeRecorder{}
    			nodeRef := &v1.ObjectReference{Kind: "Node", Name: "test", UID: types.UID("test"), Namespace: ""}
    			manager, _ := NewManager(&Config{
    				Logger:                          logger,
    				ProbeManager:                    proberManager,
    				Recorder:                        fakeRecorder,
    				NodeRef:                         nodeRef,
    				GetPodsFunc:                     activePodsFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/node_container_manager_linux.go

    				err := cm.cgroupManager.Update(cgroupConfig)
    				if err == nil {
    					cm.recorder.Event(nodeRef, v1.EventTypeNormal, events.SuccessfulNodeAllocatableEnforcement, "Updated Node Allocatable limit across pods")
    					return
    				}
    				message := fmt.Sprintf("Failed to update Node Allocatable Limits %q: %v", cm.cgroupRoot, err)
    				cm.recorder.Event(nodeRef, v1.EventTypeWarning, events.FailedNodeAllocatableEnforcement, message)
    				time.Sleep(time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/eviction_manager_test.go

    					containerGC:                  diskGC,
    					config:                       config,
    					recorder:                     &record.FakeRecorder{},
    					summaryProvider:              summaryProvider,
    					nodeRef:                      nodeRef,
    					nodeConditionsLastObservedAt: nodeConditionsObservedAt{},
    					thresholdsFirstObservedAt:    thresholdsObservedAt{},
    				}
    
    				// synchronize to detect the memory pressure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top