Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for op (0.12 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContextOptions(opts);
    
      TFE_Op* var_op = TFE_NewOp(ctx, "VarHandleOp", status);
      TFE_OpSetAttrType(var_op, "dtype", TF_INT64);
      TFE_OpSetAttrShape(var_op, "shape", {}, 0, status);
      const TFE_OpAttrs* attributes = TFE_OpGetAttrs(var_op);
    
      TFE_Op* copy_op = TFE_NewOp(ctx, "VarHandleOp", status);
      TFE_OpSetAttrType(copy_op, "dtype", TF_FLOAT);
      TFE_OpAddAttrs(copy_op, attributes);
      unsigned char is_list = 0;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

        TF_DeleteStatus(status);
        ASSERT_EQ(TF_OK, code) << status_msg;
    
        // Test op list.
        TF_Buffer op_list_buf = TF_GetOpList(lib);
        tensorflow::OpList op_list;
        EXPECT_TRUE(op_list.ParseFromArray(op_list_buf.data, op_list_buf.length));
        ASSERT_EQ(op_list.op_size(), 1);
        EXPECT_EQ("TestCApi1", op_list.op(0).name());
        TF_DeleteLibraryHandle(lib);
      }
    #endif  // !defined(TENSORFLOW_NO_SHARED_OBJECTS)
    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)
  3. tensorflow/c/c_api_function_test.cc

      // Sanity check returned OpDef
      string data(static_cast<const char*>(buffer->data), buffer->length);
      OpDef op_def;
      op_def.ParseFromString(data);
      EXPECT_EQ(op_def.name(), func_name_);
      EXPECT_EQ(op_def.input_arg_size(), 1);
      EXPECT_EQ(op_def.output_arg_size(), 1);
      EXPECT_FALSE(op_def.is_stateful());
    
      TF_DeleteBuffer(buffer);
    }
    
    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)
  4. tensorflow/BUILD

    # addition to this core set of ops, user libraries which are loaded (via
    # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this
    # shared object directly.
    #
    # For example, from Python tf.load_op_library loads a custom op library (via
    # dlopen() on Linux), the library finds libtensorflow_framework.so (no
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. .bazelrc

    build:mkl_aarch64_threadpool -c opt
    
    # CUDA: This config refers to building CUDA op kernels with nvcc.
    build:cuda --repo_env TF_NEED_CUDA=1
    build:cuda --crosstool_top=@local_config_cuda//crosstool:toolchain
    build:cuda --@local_config_cuda//:enable_cuda
    
    # CUDA: This config refers to building CUDA op kernels with clang.
    build:cuda_clang --config=cuda
    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)
  6. tensorflow/c/c_api.h

    // Returns the serialized OpDef proto with name `op_name`, or a bad status if no
    // such op exists. This can return OpDefs of functions copied into the graph.
    TF_CAPI_EXPORT extern void TF_GraphGetOpDef(TF_Graph* graph,
                                                const char* op_name,
                                                TF_Buffer* output_op_def,
                                                TF_Status* status);
    
    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)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// been fully persisted.
      ///
      /// DEFAULT IMPLEMENTATION: No op.
      void (*flush)(const TF_WritableFile* file, TF_Status* status);
    
      /// Syncs contents of `*file` with the filesystem.
      ///
      /// This call should block until filesystem confirms that all buffers have
      /// been flushed and persisted.
      ///
      /// DEFAULT IMPLEMENTATION: No op.
      void (*sync)(const TF_WritableFile* file, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top