Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for set_f (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

    Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) {
      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_test.cc

        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        EXPECT_FLOAT_EQ(2.718, val);
        TF_DeleteStatus(status);
        return static_cast<void*>(s);
      };
    
      AttrValue v;
      v.set_f(2.718);
      CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrFloat", v);
    }
    
    TEST_F(TestKernelAttr, FloatList) {
      auto my_create_func = [](TF_OpKernelConstruction* ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            withLibraryDependencies<DependencyRemovalByNameRule>(libs.sshdScp, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.sshdSftp, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.gradleProfiler, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.samplesCheck, setOf("slf4j-simple"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. integration-tests/gradle/build.gradle.kts

      )
    val expectedCompileClasspathAndroidVersion =
      expectedReducedRuntimeClasspathAndroidVersion + setOf("j2objc-annotations-3.0.0.jar")
    val expectedCompileClasspathJreVersion =
      expectedReducedRuntimeClasspathJreVersion + setOf("j2objc-annotations-3.0.0.jar")
    
    val extraLegacyDependencies = setOf("google-collections-1.0.jar")
    
    buildscript {
      val agpVersion = if (gradle.gradleVersion.startsWith("5.")) "3.6.4" else "7.0.4"
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/initialization/GradleApiSpecAggregatorTest.groovy

            when:
            def aggregate = subject.aggregate()
    
            then:
            aggregate.exportedResourcePrefixes == setOf("META-INF/gradle-plugins")
            aggregate.exportedPackages == setOf("kotlin", "org.gradle", "groovy")
        }
    
        static class SpecProvider1 implements GradleApiSpecProvider {
            @Override
            GradleApiSpecProvider.Spec get() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 26 05:36:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ReduceGraphTest.kt

                        "d" to listOf("b", "e2")
                    )
                ),
                equalTo(
                    mapOf(
                        "a" to setOf("e1", "e2"),
                        "b" to setOf("e1"),
                        "c" to setOf("e1", "e2"),
                        "d" to setOf("e1", "e2")
                    )
                )
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. internal/pubsub/mask.go

    func (t *Mask) Merge(other Mask) {
    	*t |= other
    }
    
    // MergeMaskable will merge other into t.
    func (t *Mask) MergeMaskable(other Maskable) {
    	*t |= Mask(other.Mask())
    }
    
    // SetIf will add other if b is true.
    func (t *Mask) SetIf(b bool, other Mask) {
    	if b {
    		*t |= other
    	}
    }
    
    // Mask returns the mask as a uint64.
    func (t Mask) Mask() uint64 {
    	return uint64(t)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. test/ken/array.go

    	//	print("sumpd a=", a, " len=", len(a), " cap=", cap(a), "\n");
    	t := 0
    	for i := 0; i < len(a); i++ {
    		t += a[i]
    	}
    	//	print("sumpd t=", t, "\n");
    	return t
    }
    
    func setpf(a *[20]int) {
    	//	print("setpf a=", a, " len=", len(a), " cap=", cap(a), "\n");
    	for i := 0; i < len(a); i++ {
    		a[i] = i
    	}
    }
    
    func sumpf(a *[20]int) int {
    	//	print("sumpf a=", a, " len=", len(a), " cap=", cap(a), "\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.3K bytes
    - Viewed (0)
  9. build-logic/packaging/src/test/kotlin/gradlebuild/shade/tasks/ShadedJarTest.kt

                    )
                )
            )
    
            assertEquals(
                mapOf(
                    "First.class" to setOf("Second.class", "Third.class", "Forth.class"),
                    "Second.class" to emptySet(),
                    "Third.class" to setOf("First.class"),
                    "Forth.class" to emptySet()
                ),
                result
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/ide/eclipse/kotlin/build.gradle.kts

    eclipse {
        classpath {
            plusConfigurations += functional
        }
    }
    
    // tag::test-sources[]
    eclipse {
        classpath {
            testSourceSets = testSourceSets.get() + setOf(integTest)
            testConfigurations = testConfigurations.get() + setOf(functional)
        }
    }
    // end::test-sources[]
    
    // tag::test-fixtures[]
    eclipse {
        classpath {
            containsTestFixtures = true
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top