Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 880 for yFunction (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td

    include "mlir/IR/OpBase.td"
    include "mlir/IR/PatternBase.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    
    // Creates a function call with TF::PartitionedCallOp and a new function to
    // wrap the section between arguments and results.
    //
    // The `returns` number indicates the number of results the function returns.
    class LiftAsTFPartitionedCall<string func_name, int returns = 1> :
      NativeCodeCall<"LiftAsFunctionCall($_builder, $_loc, "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/crypto/sha512/sha512.go

    		return errors.New("crypto/sha512: invalid hash state identifier")
    	}
    	switch {
    	case d.function == crypto.SHA384 && string(b[:len(magic384)]) == magic384:
    	case d.function == crypto.SHA512_224 && string(b[:len(magic512_224)]) == magic512_224:
    	case d.function == crypto.SHA512_256 && string(b[:len(magic512_256)]) == magic512_256:
    	case d.function == crypto.SHA512 && string(b[:len(magic512)]) == magic512:
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      // Run TFRT initialization function to pre-instantiate fallback kernels.
      RunTfrtInitializer();
    }
    
    llvm::SmallVector<Tensor> RuntimeFallbackExecutor::Execute(
        llvm::StringRef function_name, llvm::ArrayRef<Tensor> arguments) {
      // Get the kernel entrypoint function.
      const Function* compute = bef_file_->GetFunction(function_name);
      CHECK(compute) << "Entrypoint function not found";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compilation_profiler.cc

      mutex_lock lock(mu_);
      auto it =
          cluster_compile_stats_.emplace(function.name(), ClusterCompileStats{})
              .first;
      RegisterExecutionForCluster(function, &it->second);
    }
    
    Status DeviceCompilationProfiler::RegisterCompilation(
        const NameAttrList& function, int64_t compile_time_us,
        bool used_persistent_cache) {
      metrics::UpdateXlaCompilationTime(compile_time_us);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/internal/abi/symtab.go

    // license that can be found in the LICENSE file.
    
    package abi
    
    // A FuncFlag records bits about a function, passed to the runtime.
    type FuncFlag uint8
    
    const (
    	// FuncFlagTopFrame indicates a function that appears at the top of its stack.
    	// The traceback routine stop at such a function and consider that a
    	// successful, complete traversal of the stack.
    	// Examples of TopFrame functions include goexit, which appears
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    * Any sequence of arguments that should be passed to the task function in order (`email`).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/FunctionCodecTest.kt

        @Test
        fun `defers evaluation of Function objects`() {
            assertDeferredEvaluationOf(function()) {
                invoke()
            }
        }
    
        @Test
        fun `defers evaluation of dynamic Function fields`() {
            assertDeferredEvaluationOf(BeanOf(function())) {
                value()
            }
        }
    
        @Test
        fun `defers evaluation of static Function fields`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/FunctionExtractorTest.kt

        @Test
        fun `adding function may have a configuring lambda if it returns the added value`() {
            val schema = schemaFromTypes(ReceiverOne::class, listOf(ReceiverOne::class))
            val function = schema.dataClassesByFqName.values.single().memberFunctions.single()
            assertIs<FunctionSemantics.AddAndConfigure>(function.semantics)
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/mdo/java/WrapperList.java

    import java.util.List;
    import java.util.Objects;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.function.Supplier;
    
    class WrapperList<T, U> extends AbstractList<T> implements Serializable {
        private final Supplier<List<U>> getter;
        private final Consumer<List<U>> setter;
        private final Function<U, T> mapper;
        private final Function<T, U> revMapper;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

            return true;
          }
        }
      }
      return false;
    }
    
    // Lifts HashTable ops in the target function as function arguments and returns
    // the lifted ops. These ops  will then be added to the caller function and
    // passed to the target function.
    LogicalResult LiftHashTableOpsToArguments(ModuleOp module_op,
                                              func::FuncOp target_func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top