Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindByString (0.13 sec)

  1. tensorflow/compiler/jit/xla_compile_util_test.cc

      const Node* arg_node = node_name_index.at("_arg0");
      EXPECT_EQ(arg_node->op_def().name(), "_Arg");
      EXPECT_EQ(arg_node->attrs().FindByString("T")->type(), DT_FLOAT);
    
      const Node* retval_node = node_name_index.at("_retval0");
      EXPECT_EQ(retval_node->op_def().name(), "_Retval");
      EXPECT_EQ(retval_node->attrs().FindByString("T")->type(), DT_FLOAT);
    
      EXPECT_EQ(identity_node->num_outputs(), 1);
      EXPECT_EQ(retval_node->num_inputs(), 1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 21:48:05 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

          if (node_op == kStatefulPartitionedCallOp) {
            // Functions called by StatefulfulPartitionedCall ops with
            // _XlaMustCompile=true are compiled by XLA.
            auto attr = node->attrs().FindByString(std::string(kMustCompileAttr));
            if (attr != nullptr && attr->b() == true) {
              return true;
            }
          }
        }
        return false;
      };
    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