Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for bhat (0.23 sec)

  1. tensorflow/c/experimental/grappler/grappler_internal.h

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    // Classes and utilities that work with Graph C API for internal use.
    // This includes functions used for optimizer registration and interfaces needed
    // for testing.
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRAPPLER_GRAPPLER_INTERNAL_H_
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  2. src/cmd/cgo/internal/test/issue20910.c

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #include "_cgo_export.h"
    
    /* Test calling a Go function with multiple return values.  */
    
    void
    callMulti(void)
    {
    	struct multi_return result = multi();
    	assert(strcmp(result.r0, "multi") == 0);
    	assert(result.r1 == 0);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 459 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cthread_windows.c

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #define WIN32_LEAN_AND_MEAN
    #include <windows.h>
    #include <process.h>
    #include "_cgo_export.h"
    
    __stdcall
    static unsigned int
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_remote_test_util.h

    // Run a function containing a MatMul op and check its output.
    // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one
    // which creates a remote input, to simulate a scenario that the remote input
    // is not ready when we start running an op or a function.
    void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func,
                                       bool heavy_load_on_streaming_rpc,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.h

    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for
    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_tensor_handle.h

    // metadata and synchronization.
    //
    // This allows us to hide concrete implementations of TensorHandle from header
    // files. The interface lists the common functionality that must be provided by
    // any concrete implementation. However, in cases where the true concrete class
    // is needed a static_cast can be applied.
    class ImmediateExecutionTensorHandle : public AbstractTensorHandle {
     public:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/unified_api_testutil.h

    Status CreateParamsForInputs(AbstractContext* ctx,
                                 absl::Span<AbstractTensorHandle* const> inputs,
                                 std::vector<AbstractTensorHandle*>* params);
    
    // A callable that takes tensor inputs and returns zero or more tensor outputs.
    using Model = std::function<Status(AbstractContext*,
                                       absl::Span<AbstractTensorHandle* const>,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_internal.h

          TF_GUARDED_BY(mu);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
      // Used to link graphs contained in TF_WhileParams to the parent graph that
      // will eventually contain the full while loop.
      TF_Graph* parent;
      TF_Output* parent_inputs;
    };
    
    struct TF_OperationDescription {
      TF_OperationDescription(TF_Graph* g, const char* op_type,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_c_gccgo.c

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gccgo
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler.h

    //
    // Conventions:
    //   * Struct prefix indicates whether struct fields should be filled by the
    //     plugin or core implementation:
    //     * Struct that should be filled by the plugin: `TP_OptimizerConfigs`,
    //       `TP_Optimizer`, `TP_OptimizerRegistrationParams`
    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    //       `TF_GraphProperties`, `TF_FunctionLibraryDefinition`
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top