Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,706 for tffunction (0.12 sec)

  1. tensorflow/compiler/aot/tests/make_test_graphs.py

      y = array_ops.placeholder(dtypes.float32, name='y_hold')
      math_ops.matmul(x, y, name='x_y_prod')
      math_ops.add(x, y, name='x_y_sum')
    
    
    def tffunction(_):
    
      @function.Defun(dtypes.int32, dtypes.int32)
      def test_func(a, b):
        return a + b
    
      x = constant_op.constant([1], name='x_const')
      y = constant_op.constant([2], name='y_const')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/function.h

    #include "tensorflow/core/platform/statusor.h"
    
    namespace tf {
    namespace libtf {
    
    class Function {
     public:
      tensorflow::Status RegisterTrace(tensorflow::AbstractFunctionPtr,
                                       TaggedValue input_signature,
                                       TaggedValue output_signature);
    
      // Executes this function under the execution context.
      //
      // Raises an error is no matching signature is found for TaggedValue.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Function.java

    /**
     * Legacy version of {@link java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>As this interface extends {@code java.util.function.Function}, an instance of this type can be
     * used as a {@code java.util.function.Function} directly. To use a {@code
     * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Mar 20 18:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.kt

    Ilya Kirillov <******@****.***> 1637333053 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 22 21:46:58 UTC 2021
    - 94 bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onFunction.txt

    Ilya Kirillov <******@****.***> 1637753883 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 02 19:09:16 UTC 2021
    - 113 bytes
    - Viewed (0)
  6. platforms/core-runtime/functional/src/main/java/org/gradle/internal/io/IoFunction.java

    import java.io.UncheckedIOException;
    import java.util.function.Function;
    
    /**
     * A variant of {@link Function} that is allowed to throw {@link IOException}.
     */
    @FunctionalInterface
    public interface IoFunction<T, R> {
        @Nullable
        R apply(@Nullable T t) throws IOException;
    
        /**
         * Wraps an {@link IOException}-throwing {@link IoFunction} into a regular {@link Function}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt

    }
    node {
      name: "custom_embedding_matmul_func_call"
      op: "custom_embedding_matmul"
    }
    library {
      function {
        signature {
          name: "custom_relu"
        }
        attr {
          key: "_implements"
          value {
            func {
              name: "tensorflow.relu"
            }
          }
        }
      }
      function {
        signature {
          name: "custom_embedding_matmul"
        }
        attr {
          key: "_implements"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 20:09:54 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Function.java

     * java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/tests/function_test.cc

      AbstractFunctionPtr trace(new GraphFunction(fdef), /*add_ref=*/false);
      Function tf_function;
      PartialTensorShape unknown_shape;
      TaggedValue signature(unknown_shape, DT_FLOAT);
      Status s = tf_function.RegisterTrace(std::move(trace), signature, signature);
      ASSERT_TRUE(s.ok()) << s.message();
      TaggedValue args(std::move(x));
      StatusOr<TaggedValue> v = tf_function.Execute(ctx_.get(), args);
      ASSERT_TRUE(v.ok()) << v.status().message();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/function.cc

      auto cleanup_tensors = absl::MakeCleanup([outs]() {
        for (auto t : outs) {
          t->Unref();
        }
      });
      return Unflatten(outs, concrete_fn.output_signature);
    }
    
    StatusOr<Function::ConcreteFunction> Function::GetConcreteFunction(
        TaggedValue value) const {
      if (concrete_fns_.empty()) {
        return tensorflow::errors::FailedPrecondition(
            "No registered ConcreteFunctions.");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top