Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsSupportedByNonReplicatedBridge (0.23 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.h

    namespace tensorflow {
    
    // Checks if a graph or reachable functions in the library have any
    // StatefulPartitionedOps with _XlaMustCompile=true. The function library will
    // be skipped if nullptr is provided.
    bool IsSupportedByNonReplicatedBridge(
        const Graph& graph, const FunctionLibraryDefinition* function_library);
    
    // Checks if a graph or reachable functions in the library have any ops with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 16:33:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

          /*arg_def=*/{"in: resource"},
          /*ret_def=*/{"out: resource"},
          /*attr_def=*/{},
          /*node_def=*/
          {{{"out"}, "Identity", {"in"}, {{"T", DataType::DT_RESOURCE}}}});
    }
    
    TEST(IsSupportedByNonReplicatedBridge, NonReplicatedGraph) {
      const FunctionDef& fd = PassThroughResource();
      FunctionDefLibrary flib;
      *flib.add_function() = fd;
      FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

        for (const NodeDef& node_def : func_def->node_def()) {
          if (node_def.op() == kPartitionedCall) return true;
        }
      }
      return false;
    }
    
    }  // namespace
    
    bool IsSupportedByNonReplicatedBridge(
        const Graph& graph, const FunctionLibraryDefinition* function_library) {
      return IsNonReplicatedGraph(graph, function_library) &&
             HasPsWithResourceVariable(graph);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top