Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      }
      return results;
    }
    
    string host_compute_node_name(const string& original_oc_name) {
      return absl::StrCat("outside_compilation_", original_oc_name,
                          "_host_compute");
    }
    
    // Builds XlaHostCompute NodeDef from the outside compilation call node.
    absl::StatusOr<NodeDef> BuildXlaHostComputeNodeDef(
        const Node* call_node, const std::map<string, int>& host_compute_core,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

                               TF::_XlaHostComputeMlirOp host_compute,
                               Value token) {
      builder.setInsertionPoint(host_compute);
      Location loc = host_compute.getLoc();
      bool manual_sharding = host_compute.getManualSharding();
    
      SmallVector<Value, 4> send_tokens;
      for (auto operand : llvm::enumerate(host_compute.getInputs())) {
        auto send_token = CreateSendOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      auto host_compute = builder.create<mlir::TF::_XlaHostComputeMlirOp>(
          loc, device_output_types, inputs,
          builder.getStringAttr(args_communication_key),
          builder.getStringAttr(retvals_communication_key),
          /*host_mlir_module=*/builder.getStringAttr(serialized_func_module));
      host_compute_out_ops.push_back(host_compute);
      for (Value v : host_compute.getResults()) full_outputs.push_back(v);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

    //   type: MAXIMAL
    //   tile_assignment_dimensions: 1
    //   tile_assignment_devices: 0
    // Serialized string:
    //   "\08\01\1A\01\01\22\01\00"
    
    // CHECK-LABEL: func @host_compute
    // CHECK-SAME:  ([[ARG0:%.*]]: tensor<i32>, [[ARG1:%.*]]: tensor<i64>)
    func.func @host_compute(%arg0: tensor<i32>, %arg1: tensor<i64>) -> (tensor<f32>, tensor<f64>) {
      // CHECK:      [[INIT_TOKEN:%.*]] = mhlo.create_token
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      TF_EXPECT_FUNCTIONDEFLIBRARY_EQ(library_expected, library);
    }
    
    // Test with two outside_compilation clusters that interact outside the compiled
    // subgraph, where the ancestor has no HostCompute Op.
    TEST(EncapsulateSubgraphsTest,
         OutsideCompilationClusterDependencyNoSrcCluster) {
      FunctionDefLibrary library;
      GraphDef graphdef;
    
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
Back to top