Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,769 for const2 (0.4 sec)

  1. src/internal/types/testdata/fixedbugs/issue39680.go

    /*
    import "fmt"
    
    // Minimal test case.
    func _[T interface{~T}](x T) T{
    	return x
    }
    
    // Test case from issue.
    type constr[T any] interface {
    	~T
    }
    
    func Print[T constr[T]](s []T) {
    	for _, v := range s {
    		fmt.Print(v)
    	}
    }
    
    func f() {
    	Print([]string{"Hello, ", "playground\n"})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 533 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt

    node {
      name: "Quantized_Constant"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_QUINT8
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_QUINT8
            tensor_shape {
            }
            int_val: 7
          }
        }
      }
    }
    library {
    }
    versions {
      producer: 70
    }
    
    # CHECK: tf.Const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 05 09:05:10 UTC 2022
    - 639 bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util_test.cc

    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    AttrValue FuncListAttr(const absl::Span<const char* const> names) {
      AttrValue attr;
      for (const char* name : names) {
        attr.mutable_list()->add_func()->set_name(name);
      }
      return attr;
    }
    
    constexpr char kFunctionalIfNodeName[] = "If";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

      // CHECK: %[[CONST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[BARG1]], %[[CONST1]])
      %sub = "tf.Sub"(%arg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %elem = "tf._SomeOp"() : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    Overview Package Class Use Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD org/hamcrest/BaseMatcher.html Overview Package Class Use Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD org.hamcrest Class BaseMatcher<T> java.lang.Object org.hamcrest.BaseMatcher<T> All Implemented Interfaces: Matcher<T>,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 236.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK: %[[CONST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[BARG1]], %[[CONST1]])
      %sub = "tf.Sub"(%arg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %elem = "tf._SomeOp"() : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_identity_n.mlir

    func.func @main() -> tensor<2x3xi32> {
      %graph = tf_executor.graph {
        %0:2 = tf_executor.island wraps "tf.Const"() {value = dense<5> : tensor<2x3xi32>} : () -> tensor<2x3xi32> loc("Const0")
        %1:2 = tf_executor.island wraps "tf.Const"() {value = dense<4.2> : tensor<4x5xf32>} : () -> tensor<4x5xf32> loc("Const1")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1014 bytes
    - Viewed (0)
  8. src/cmd/doc/pkg.go

    	constructor := make(map[*doc.Func]bool)
    	for _, typ := range docPkg.Types {
    		docPkg.Consts = append(docPkg.Consts, typ.Consts...)
    		docPkg.Vars = append(docPkg.Vars, typ.Vars...)
    		docPkg.Funcs = append(docPkg.Funcs, typ.Funcs...)
    		if isExported(typ.Name) {
    			for _, value := range typ.Consts {
    				typedValue[value] = true
    			}
    			for _, value := range typ.Vars {
    				typedValue[value] = true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. test/typeparam/cons.go

    	Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any
    }
    
    type Nil[a any] struct {
    }
    
    func (xs Nil[a]) Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any {
    	return casenil.Apply(xs)
    }
    
    type Cons[a any] struct {
    	Head a
    	Tail List[a]
    }
    
    func (xs Cons[a]) Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any {
    	return casecons.Apply(xs)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 21 23:41:49 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. pkg/kube/kclient/crdwatcher.go

    	// Setup a filter
    	crd := t.(*metav1.PartialObjectMetadata)
    	mv, f := minimumCRDVersions[crd.Name]
    	if !f {
    		return true
    	}
    	bv, f := crd.Annotations[consts.BundleVersionAnnotation]
    	if !f {
    		log.Errorf("CRD %v expected to have a %v annotation, but none found; ignoring", crd.Name, consts.BundleVersion)
    		return false
    	}
    	fv, err := semver.NewVersion(bv)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top