Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,055 for functies (0.25 sec)

  1. tensorflow/c/c_api_function_test.cc

      Define(1, {add}, {feed1, feed2}, {add, scalar}, {}, true);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("TF_Output scalar:0 is neither in the function body nor "
                       "among function inputs. Encountered while creating "
                       "function 'MyFunc'"),
                string(TF_Message(s_)));
    }
    
    void DefineFunction(const char* name, TF_Function** func,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependencies in path operation decorators
    
    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

    /// note | "Technical Details"
    
    When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
    
    That when called, return instances of classes of the same name.
    
    So, you import `Query`, which is a function. And when you call it, it returns an instance of a class also named `Query`.
    
    These functions are there (instead of just using the classes directly) so that your editor doesn't mark errors about their types.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

       * exception (typically, but not necessarily, {@link IllegalArgumentException}).
       *
       * <p>The returned converter is serializable if both provided functions are.
       *
       * @since 17.0
       */
      public static <A, B> Converter<A, B> from(
          Function<? super A, ? extends B> forwardFunction,
          Function<? super B, ? extends A> backwardFunction) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    But then we get a `dict` in the parameter `commons` of the *path operation function*.
    
    And we know that editors can't provide a lot of support (like completion) for `dict`s, because they can't know their keys and value types.
    
    We can do better...
    
    ## What makes a dependency
    
    Up to now you have seen dependencies declared as functions.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EquivalenceTest.java

        EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEquivalenceGroup(new IntValue(1), new IntValue(1))
            .addEquivalenceGroup(new IntValue(2))
            .test();
      }
    
      public void testOnResultOf_equals() {
        new EqualsTester()
            .addEqualityGroup(
                Equivalence.identity().onResultOf(Functions.toStringFunction()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ImmutableGraph.java

        }
        return nodeConnections.buildOrThrow();
      }
    
      @SuppressWarnings("unchecked")
      private static <N> GraphConnections<N, Presence> connectionsOf(Graph<N> graph, N node) {
        Function<N, Presence> edgeValueFn =
            (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS);
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients.h

    #include "tensorflow/core/common_runtime/eager/attr_builder.h"
    
    namespace tensorflow {
    namespace gradients {
    
    // =============== Experimental C++ API for computing gradients ===============
    
    // Sample gradient function:
    //
    // class AddGradientFunction : public GradientFunction {
    //  public:
    //   Status Compute(Context* ctx,
    //                  absl::Span<AbstractTensorHandle* const> grad_inputs,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * A function from an input to a result.
       *
       * @param <T> the type of the input to the function
       * @param <U> the type of the result of the function
       */
      public interface ClosingFunction<T extends @Nullable Object, U extends @Nullable Object> {
    
        /**
         * Applies this function to an input, or throws an exception if unable to do so.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    	var _C_zero *C.mpz_t
    
    and then replacing all instances of C.zero with (*_C_zero).
    
    Cgo's most interesting translation is for functions.  If xxx is a C
    function, then cgo rewrites C.xxx into a new function _C_xxx that
    calls the C xxx in a standard pthread.  The new function translates
    its arguments, calls xxx, and translates the return value.
    
    Translation of parameters and the return value follows the type
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
Back to top