Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Signal (0.2 sec)

  1. tensorflow/c/c_api.cc

    namespace {
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    // Creates a placeholder representing an input to the cond or body graph.
    // TODO(skyewm): remove these from final graph
    bool CreateInput(const TF_Output& parent_input, TF_Graph* g, const char* name,
                     TF_Output* input, TF_Status* status) {
      TF_OperationDescription* desc = TF_NewOperation(g, "Placeholder", name);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

               {{"T", DT_FLOAT},
                {"group_size", static_cast<int>(devices.size())},
                {"group_key", 0},
                {"instance_key", 0},
                {"merge_op", "Add"},
                {"final_op", "Id"},
                {"subdiv_offsets", std::vector<int>()}},
               /*dep=*/{"assert"}},
          });
      TF_ASSERT_OK(ContextFromInterface(unwrap(context.get()))
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      const std::string merge_op("Add");
      TFE_OpSetAttrString(op.get(), "merge_op", merge_op.c_str(),
                          merge_op.length());
      const std::string final_op("Id");
      TFE_OpSetAttrString(op.get(), "final_op", final_op.c_str(),
                          final_op.length());
      TFE_OpSetAttrIntList(op.get(), "subdiv_offsets", nullptr, 0);
    
      TFE_OpAddInput(op.get(), input, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(1, TF_OutputListNumOutputs(add_outputs));
      TF_AbstractTensor* final_result = TF_OutputListGet(add_outputs, 0);
      TFE_TensorHandle* final =
          TF_AbstractTensorGetEagerTensor(final_result, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TF_Tensor* f_t = TFE_TensorHandleResolve(final, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          memcpy(&buffer[total_bytes_transferred], &*begin, bytes_to_copy);
          total_bytes_transferred += bytes_to_copy;
        }
        if (data.size() < block_size_) {
          // The block was a partial block and thus signals EOF at its upper bound.
          break;
        }
      }
      TF_SetStatus(status, TF_OK, "");
      return total_bytes_transferred;
    }
    
    bool RamFileBlockCache::ValidateAndUpdateFileSignature(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    std::string ModularFileSystemTest::cloud_path_;
    std::string ModularFileSystemTest::tmp_dir_;
    
    // As some of the implementations might be missing, the tests should still pass
    // if the returned `Status` signals the unimplemented state.
    bool UnimplementedOrReturnsCode(Status actual_status, Code expected_code) {
      Code actual_code = actual_status.code();
      return (actual_code == Code::UNIMPLEMENTED) || (actual_code == expected_code);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

      VerifyFDef({"add1", "add2"}, M({{"feed1"}, {"feed2"}, {"feed3"}}),
                 M({{"internal_out"}, {"final_out"}}),
                 {{"feed1", "add1:0"},
                  {"feed2", "add1:1"},
                  {"add1:sum:0", "add2:0"},
                  {"feed3", "add2:1"},
                  {"add1:sum:0", "internal_out"},
                  {"add2:sum:0", "final_out"}},
                 {});
    }
    
    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)
  8. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpSetAttrInt(op, "group_size", group_size);
      TFE_OpSetAttrInt(op, "group_key", 123);
      TFE_OpSetAttrInt(op, "instance_key", 456);
      TFE_OpSetAttrString(op, "merge_op", "Add", 3);
      TFE_OpSetAttrString(op, "final_op", "Id", 2);
      std::vector<int64_t> subdiv_offsets;
      TFE_OpSetAttrIntList(op, "subdiv_offsets", subdiv_offsets.data(),
                           subdiv_offsets.size());
    
      return op;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
Back to top