Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for live (0.12 sec)

  1. tensorflow/c/c_api_test.cc

        ASSERT_EQ(src.NumElements(), output.NumElements()) << line;
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line;
        }
    
        TF_DeleteTensor(dst);
      }
    }
    
    TEST(CAPI, TensorEncodeDecodeStrings) {
      TestEncodeDecode(__LINE__, {});
      TestEncodeDecode(__LINE__, {"hello"});
      TestEncodeDecode(__LINE__,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_function_test.cc

      }
    
      // Define function, use it in graph, and run
      DefineT(-1, {}, {{feed1, 0}, {feed2, 0}}, {outputs[0]}, {});
      TF_Operation* five = ScalarConst(5, host_graph_, s_, "five");
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed, five});
      Run({{func_feed, Int32Tensor(2)}}, func_op, 2 /*+=*/ + 5 + 1);
    
      // Verify input, output, and subset of edges in fdef.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. .bazelrc

    # Default build options. These are applied first and unconditionally.
    
    # For projects which use TensorFlow as part of a Bazel build process, putting
    # nothing in a bazelrc will default to a monolithic build. The following line
    # opts in to modular op registration support by default.
    build --define framework_shared_object=true
    build --define tsl_protobuf_header_only=true
    
    build --define=use_fast_cpp_protos=true
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  4. configure.py

    APPLE_BAZEL_FILES = [
        'tensorflow/lite/ios/BUILD', 'tensorflow/lite/objc/BUILD',
        'tensorflow/lite/swift/BUILD',
        'tensorflow/lite/tools/benchmark/experimental/ios/BUILD'
    ]
    
    # List of files to move when building for iOS.
    IOS_FILES = [
        'tensorflow/lite/objc/TensorFlowLiteObjC.podspec',
        'tensorflow/lite/swift/TensorFlowLiteSwift.podspec',
    ]
    
    
    class UserInputError(Exception):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  5. tensorflow/c/c_api.h

    // * Backing store for tensor memory has an associated deallocation
    //   function.  This deallocation function will point to client code
    //   for tensors populated by the client.  So the client can do things
    //   like shadowing a numpy array.
    // * We do not provide TF_OK since it is not strictly necessary and we
    //   are not optimizing for convenience.
    // * We make assumption that one session has one graph.  This should be
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top