Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for attr_ (0.07 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      auto check = [&](mlir::Value val, std::string attr_name) -> LogicalResult {
        ElementsAttr attr;
        if (matchPattern(val, m_Constant(&attr))) {
          if (attr.getShapedType().getRank() != 1) {
            return op.emitOpError()
                   << "expects the rank of " << attr_name << "to be 1, got "
                   << attr.getShapedType().getRank();
          }
          if (input_ty.hasRank()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func GetFileAttributes(name *uint16) (attrs uint32, err error) {
    	r0, _, e1 := syscall.Syscall(procGetFileAttributesW.Addr(), 1, uintptr(unsafe.Pointer(name)), 0, 0)
    	attrs = uint32(r0)
    	if attrs == INVALID_FILE_ATTRIBUTES {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    			otherPods = append(otherPods, op)
    		}
    		attrs.OtherPods = otherPods
    	}
    	for _, podAdmitHandler := range kl.admitHandlers {
    		if result := podAdmitHandler.Admit(attrs); !result.Admit {
    			return false, result.Reason, result.Message
    		}
    	}
    
    	return true, "", ""
    }
    
    func (kl *Kubelet) canRunPod(pod *v1.Pod) lifecycle.PodAdmitResult {
    	attrs := &lifecycle.PodAdmitAttributes{Pod: pod}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    	podsToReject []*v1.Pod
    }
    
    // Admit rejects all pods in the podsToReject list with a matching UID.
    func (a *testPodAdmitHandler) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	for _, podToReject := range a.podsToReject {
    		if podToReject.UID == attrs.Pod.UID {
    			return lifecycle.PodAdmitResult{Admit: false, Reason: "Rejected", Message: "Pod is rejected"}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      Returns:
        A mapping of `shared_name` -> `NodeDef` corresponding to a variable op.
      """
      variable_nodes = {}
    
      for var_node in filter(_is_variable, graph_def.node):
        shared_name = str(var_node.attr['shared_name'].s, encoding='utf-8')
        variable_nodes[shared_name] = var_node
    
      for func in graph_def.library.function:
        for var_node in filter(_is_variable, func.node_def):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
  7. src/main/webapp/js/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
  8. pkg/registry/batch/job/strategy_test.go

    				if err != nil {
    					t.Errorf("Error %s supposed to be nil", err.Error())
    				}
    				if diff := cmp.Diff(labels.Set(tc.job.ObjectMeta.Labels), gotLabels); diff != "" {
    					t.Errorf("Unexpected attrs (-want,+got):\n%s", diff)
    				}
    			}
    		})
    	}
    }
    
    func TestJobToSelectiableFields(t *testing.T) {
    	apitesting.TestSelectableFieldLabelConversionsOfKind(t,
    		"batch/v1",
    		"Job",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          %2 = "tf.Const"() {device = "baz", value = dense<[[42.0]]> : tensor<1x1xf32>} : () -> tensor<1x1xf32>
        ```
      }];
    }
    
    def TFDeviceAssignmentByFuncAttrPass : Pass<"tf-device-assignment-by-func-attr", "mlir::func::FuncOp"> {
      let summary = "Device assignment in TF dialect using the device specified in the function attribute.";
      let constructor = "TF::CreateTFDeviceAssignmentByFuncAttrPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK: tf.Assert
      "tf.Assert"(%f, %arg0) {summarize = 3} : (tensor<i1>, tensor<1x1x6x2xf32>) -> ()
      func.return
    }
    
    // CHECK-LABEL: testGatherToV2
    // Ensures that axis param and batch_dims attr use their default values of 0.
    func.func @testGatherToV2(%params: tensor<4x3xf32>, %indices: tensor<1x2xi32>) -> tensor<2x3xf32> {
      // CHECK: %[[AXIS:.*]] = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top